Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice") translateModel(Annex60.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009833/0.0009834, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000989/0.0009891, allocations: 190.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 222.1 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3513/0.3513, allocations: 54.92 MB / 324.4 MB, free: 144 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 394.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 59.59 MB / 454.5 MB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.Orifice): time 0.3331/0.437, allocations: 171.5 MB / 0.6113 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.4403, allocations: 2.214 MB / 0.6135 GB, free: 9.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.4406, allocations: 15.88 kB / 0.6135 GB, free: 9.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007965/0.4415, allocations: 278.6 kB / 0.6137 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.443, allocations: 0.7553 MB / 0.6145 GB, free: 8.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.4449, allocations: 0.8284 MB / 0.6153 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.4464, allocations: 1.306 MB / 0.6166 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005046/0.4469, allocations: 401.5 kB / 0.6169 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009909/0.4479, allocations: 0.6499 MB / 0.6176 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.4484, allocations: 446.3 kB / 0.618 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.025e-05/0.4484, allocations: 55.94 kB / 0.6181 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.4497, allocations: 0.791 MB / 0.6188 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.4499, allocations: 231.4 kB / 0.6191 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.4502, allocations: 339.7 kB / 0.6194 GB, free: 3.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.4515, allocations: 1.118 MB / 0.6205 GB, free: 2.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4515, allocations: 0 / 0.6205 GB, free: 2.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4515, allocations: 4 kB / 0.6205 GB, free: 2.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.4515, allocations: 0 / 0.6205 GB, free: 2.777 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00152/0.453, allocations: 0.936 MB / 0.6214 GB, free: 1.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4531, allocations: 12.03 kB / 0.6214 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.4542, allocations: 175.1 kB / 0.6216 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.4547, allocations: 413.6 kB / 0.622 GB, free: 1.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.4548, allocations: 36.98 kB / 0.622 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.425e-05/0.4548, allocations: 44.94 kB / 0.622 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008196/0.4557, allocations: 0.5036 MB / 0.6225 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4557, allocations: 4.469 kB / 0.6225 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.4558, allocations: 20 kB / 0.6226 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.4558, allocations: 16 kB / 0.6226 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006299/0.4564, allocations: 379.7 kB / 0.6229 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.4586, allocations: 1.901 MB / 0.6248 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.459, allocations: 235.5 kB / 0.625 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.4592, allocations: 117.7 kB / 0.6251 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007232/0.46, allocations: 0.696 MB / 0.6258 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.46, allocations: 31.19 kB / 0.6258 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 2.084e-06/0.46, allocations: 0 / 0.6258 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.0007579/0.4608, allocations: 382.2 kB / 0.6262 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4608, allocations: 59.41 kB / 0.6263 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.4613, allocations: 0.5176 MB / 0.6268 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.4614, allocations: 33.7 kB / 0.6268 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.4615, allocations: 260.7 kB / 0.627 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.4616, allocations: 90.64 kB / 0.6271 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.4617, allocations: 73.92 kB / 0.6272 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4618, allocations: 354.8 kB / 0.6275 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.4621, allocations: 100.6 kB / 0.6276 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.4623, allocations: 172 kB / 0.6278 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.4627, allocations: 292.5 kB / 0.6281 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4627, allocations: 0.75 kB / 0.6281 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005789/0.4633, allocations: 374.6 kB / 0.6284 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4634, allocations: 4 kB / 0.6284 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4634, allocations: 4 kB / 0.6284 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4634, allocations: 7.938 kB / 0.6285 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.4637, allocations: 67.91 kB / 0.6285 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4637, allocations: 4 kB / 0.6285 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.464, allocations: 71.38 kB / 0.6286 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.4641, allocations: 12 kB / 0.6286 GB, free: 9.934 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.4643, allocations: 185.7 kB / 0.6288 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.4644, allocations: 54.06 kB / 0.6288 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.4649, allocations: 317.9 kB / 0.6291 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4649, allocations: 7.938 kB / 0.6291 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.465, allocations: 4 kB / 0.6291 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.465, allocations: 0 / 0.6291 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.4661, allocations: 0.8881 MB / 0.63 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4661, allocations: 0 / 0.63 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.4663, allocations: 51.91 kB / 0.6301 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4663, allocations: 4 kB / 0.6301 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.4664, allocations: 8 kB / 0.6301 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.4664, allocations: 5.5 kB / 0.6301 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4664, allocations: 0 / 0.6301 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.4671, allocations: 0.5647 MB / 0.6306 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.4673, allocations: 172.4 kB / 0.6308 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.4674, allocations: 9.219 kB / 0.6308 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.4678, allocations: 31.88 kB / 0.6308 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.4679, allocations: 15.92 kB / 0.6308 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.4679, allocations: 19.98 kB / 0.6309 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003584/0.4683, allocations: 382.8 kB / 0.6312 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4683, allocations: 0 / 0.6312 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004658/0.4688, allocations: 148 kB / 0.6314 GB, free: 6.961 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003773/0.4692, allocations: 180.8 kB / 0.6315 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.4697, allocations: 272.4 kB / 0.6318 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.4697, allocations: 8.312 kB / 0.6318 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.4699, allocations: 119.8 kB / 0.6319 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.4712, allocations: 301.4 kB / 0.6322 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.4728, allocations: 1.229 MB / 0.6334 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.4732, allocations: 0.8604 MB / 0.6343 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003897/0.4736, allocations: 102.3 kB / 0.6344 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.4737, allocations: 51.36 kB / 0.6344 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.4737, allocations: 0 / 0.6344 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of Templates: time 0.1933/0.667, allocations: 10.41 MB / 0.6446 GB, free: 161.1 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe 2>&1)