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.001602/0.001602, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 195.3 kB / 16.53 MB, free: 6.656 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.433/1.433, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4602/0.4602, allocations: 54.95 MB / 324.7 MB, free: 15.96 MB / 270.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.001651/0.001651, allocations: 67.89 kB / 395.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1342, allocations: 59.59 MB / 454.9 MB, free: 184 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.Orifice): time 0.4026/0.5369, allocations: 173.8 MB / 0.614 GB, free: 9.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.5406, allocations: 2.237 MB / 0.6162 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.5409, allocations: 15.94 kB / 0.6162 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008755/0.5418, allocations: 310.9 kB / 0.6165 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.5435, allocations: 0.793 MB / 0.6173 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.5457, allocations: 0.898 MB / 0.6181 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.547, allocations: 1.312 MB / 0.6194 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005269/0.5475, allocations: 421.5 kB / 0.6198 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009696/0.5485, allocations: 0.6344 MB / 0.6204 GB, free: 3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004716/0.549, allocations: 426.3 kB / 0.6208 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.159e-05/0.5491, allocations: 52 kB / 0.6209 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.5503, allocations: 0.76 MB / 0.6216 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.5506, allocations: 225.8 kB / 0.6218 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.5509, allocations: 334.5 kB / 0.6222 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.5522, allocations: 1.071 MB / 0.6232 GB, free: 152 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5522, allocations: 0 / 0.6232 GB, free: 152 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5522, allocations: 0 / 0.6232 GB, free: 152 kB / 494.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.5522, allocations: 0 / 0.6232 GB, free: 152 kB / 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.00172/0.5539, allocations: 0.9399 MB / 0.6241 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.554, allocations: 8.031 kB / 0.6241 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.5552, allocations: 179.1 kB / 0.6243 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.5558, allocations: 421.6 kB / 0.6247 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.5559, allocations: 29 kB / 0.6247 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.5559, allocations: 48 kB / 0.6248 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008462/0.5568, allocations: 0.4997 MB / 0.6253 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.5568, allocations: 3.906 kB / 0.6253 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.5569, allocations: 20 kB / 0.6253 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.5569, allocations: 19.98 kB / 0.6253 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.5576, allocations: 371.7 kB / 0.6257 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.5601, allocations: 1.911 MB / 0.6275 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.5606, allocations: 242.6 kB / 0.6278 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.5608, allocations: 117.7 kB / 0.6279 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/0.5616, allocations: 0.6843 MB / 0.6285 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.5617, allocations: 43.62 kB / 0.6286 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.5617, allocations: 3.938 kB / 0.6286 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.0008259/0.5625, allocations: 370.4 kB / 0.6289 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.5625, allocations: 64.05 kB / 0.629 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/0.5631, allocations: 0.5175 MB / 0.6295 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.5632, allocations: 33.7 kB / 0.6295 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.5634, allocations: 260.1 kB / 0.6298 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.5634, allocations: 94.66 kB / 0.6299 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.5635, allocations: 62.02 kB / 0.6299 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5637, allocations: 358.8 kB / 0.6303 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.5639, allocations: 109.5 kB / 0.6304 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.5642, allocations: 168 kB / 0.6305 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.5647, allocations: 284.3 kB / 0.6308 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5647, allocations: 0 / 0.6308 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006582/0.5654, allocations: 382 kB / 0.6312 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5654, allocations: 4 kB / 0.6312 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.5654, allocations: 1.125 kB / 0.6312 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5654, allocations: 7.938 kB / 0.6312 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.5657, allocations: 67.91 kB / 0.6313 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.5658, allocations: 4 kB / 0.6313 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.5661, allocations: 60.42 kB / 0.6313 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.5661, allocations: 8 kB / 0.6313 GB, free: 7.305 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.0002009/0.5663, allocations: 185.8 kB / 0.6315 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.5664, allocations: 51.34 kB / 0.6316 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006303/0.567, allocations: 323.5 kB / 0.6319 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5671, allocations: 3.938 kB / 0.6319 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5671, allocations: 0 / 0.6319 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5671, allocations: 7.984 kB / 0.6319 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.5683, allocations: 0.8815 MB / 0.6327 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5683, allocations: 4.562 kB / 0.6327 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.5686, allocations: 55.91 kB / 0.6328 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.5686, allocations: 12.92 kB / 0.6328 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.5686, allocations: 8 kB / 0.6328 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.5687, allocations: 4.984 kB / 0.6328 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5687, allocations: 4 kB / 0.6328 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.5695, allocations: 0.5537 MB / 0.6334 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.5697, allocations: 168.4 kB / 0.6335 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.5698, allocations: 11.94 kB / 0.6335 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.5702, allocations: 15.98 kB / 0.6336 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.5703, allocations: 33.31 kB / 0.6336 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.5703, allocations: 21.36 kB / 0.6336 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004082/0.5707, allocations: 370.8 kB / 0.634 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5707, allocations: 0 / 0.634 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000493/0.5712, allocations: 152 kB / 0.6341 GB, free: 4.332 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.0003972/0.5716, allocations: 181.2 kB / 0.6343 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006071/0.5723, allocations: 279.7 kB / 0.6345 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5723, allocations: 0 / 0.6345 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.5725, allocations: 134.8 kB / 0.6347 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.574, allocations: 309 kB / 0.635 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.5757, allocations: 1.052 MB / 0.636 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.5761, allocations: 0.8604 MB / 0.6368 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003794/0.5765, allocations: 111.3 kB / 0.6369 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.5766, allocations: 39.44 kB / 0.637 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5766, allocations: 0 / 0.637 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.1869/0.7636, allocations: 10.52 MB / 0.6473 GB, free: 161.4 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)