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.001264/0.001265, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01106/0.01106, allocations: 173.9 kB / 16.26 MB, free: 6.676 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.503/1.503, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.418/0.418, allocations: 55.01 MB / 325.8 MB, free: 0.5781 MB / 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.0005023/0.0005023, allocations: 19.98 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3553, allocations: 60.71 MB / 458 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.Orifice): time 0.1876/0.543, allocations: 169.3 MB / 0.6126 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.5474, allocations: 2.22 MB / 0.6148 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.5479, allocations: 11.94 kB / 0.6148 GB, free: 11.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009517/0.5488, allocations: 270.6 kB / 0.615 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.5507, allocations: 0.7584 MB / 0.6158 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.553, allocations: 0.8202 MB / 0.6166 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.5551, allocations: 1.83 MB / 0.6184 GB, free: 7.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005612/0.5557, allocations: 348.8 kB / 0.6187 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.5568, allocations: 0.5564 MB / 0.6192 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.5574, allocations: 442.2 kB / 0.6197 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.347e-05/0.5575, allocations: 24 kB / 0.6197 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.559, allocations: 0.8651 MB / 0.6205 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.5592, allocations: 204.7 kB / 0.6207 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000346/0.5596, allocations: 324.3 kB / 0.621 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.561, allocations: 1.086 MB / 0.6221 GB, free: 3.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.561, allocations: 4 kB / 0.6221 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.561, allocations: 7.938 kB / 0.6221 GB, free: 3.809 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.561, allocations: 0 / 0.6221 GB, free: 3.809 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.001439/0.5625, allocations: 0.82 MB / 0.6229 GB, free: 2.941 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5625, allocations: 8.031 kB / 0.6229 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.5637, allocations: 175 kB / 0.6231 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.5643, allocations: 429.5 kB / 0.6235 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.5643, allocations: 29 kB / 0.6235 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.5644, allocations: 44 kB / 0.6236 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.5653, allocations: 0.5036 MB / 0.6241 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.5653, allocations: 4 kB / 0.6241 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.5654, allocations: 21.31 kB / 0.6241 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.5654, allocations: 19.98 kB / 0.6241 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.5661, allocations: 387.6 kB / 0.6245 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.5685, allocations: 1.897 MB / 0.6263 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.569, allocations: 246.6 kB / 0.6266 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.5692, allocations: 121.7 kB / 0.6267 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007844/0.57, allocations: 0.7 MB / 0.6274 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.5701, allocations: 38.56 kB / 0.6274 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/0.5701, allocations: 0 / 0.6274 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.0008532/0.571, allocations: 402.2 kB / 0.6278 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.571, allocations: 55.41 kB / 0.6278 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000605/0.5716, allocations: 0.5216 MB / 0.6283 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.5717, allocations: 33.7 kB / 0.6284 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.5719, allocations: 266 kB / 0.6286 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.572, allocations: 90.66 kB / 0.6287 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.572, allocations: 29.7 kB / 0.6287 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.5722, allocations: 362.8 kB / 0.6291 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.5724, allocations: 108.6 kB / 0.6292 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.5727, allocations: 168 kB / 0.6294 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.5732, allocations: 301.9 kB / 0.6296 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5732, allocations: 0 / 0.6296 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006596/0.5738, allocations: 385.9 kB / 0.63 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5739, allocations: 8.156 kB / 0.63 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5739, allocations: 4 kB / 0.63 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5739, allocations: 7.938 kB / 0.63 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.5742, allocations: 71.91 kB / 0.6301 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.5742, allocations: 7.984 kB / 0.6301 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.5746, allocations: 67.45 kB / 0.6302 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.5747, allocations: 8 kB / 0.6302 GB, free: 11.02 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.0002627/0.5749, allocations: 185.8 kB / 0.6304 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.575, allocations: 55.34 kB / 0.6304 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/0.5757, allocations: 334.9 kB / 0.6307 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.5757, allocations: 4 kB / 0.6307 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5757, allocations: 1.125 kB / 0.6307 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5757, allocations: 7.922 kB / 0.6307 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.577, allocations: 0.8961 MB / 0.6316 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5771, allocations: 4 kB / 0.6316 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.5773, allocations: 60.03 kB / 0.6317 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.5773, allocations: 4 kB / 0.6317 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.5774, allocations: 11.98 kB / 0.6317 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-06/0.5774, allocations: 9.625 kB / 0.6317 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5774, allocations: 1.797 kB / 0.6317 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009842/0.5784, allocations: 0.5764 MB / 0.6323 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.5787, allocations: 168.4 kB / 0.6324 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/0.5788, allocations: 8 kB / 0.6324 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.5792, allocations: 31.97 kB / 0.6325 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.5793, allocations: 27.91 kB / 0.6325 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.5794, allocations: 19.98 kB / 0.6325 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004554/0.5798, allocations: 374.8 kB / 0.6329 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5799, allocations: 4 kB / 0.6329 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005886/0.5804, allocations: 144 kB / 0.633 GB, free: 7.988 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.0005423/0.581, allocations: 174.1 kB / 0.6332 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006493/0.5817, allocations: 275.4 kB / 0.6334 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.5817, allocations: 4 kB / 0.6334 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.5819, allocations: 136.4 kB / 0.6336 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.5836, allocations: 291 kB / 0.6338 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.5857, allocations: 1.305 MB / 0.6351 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.5863, allocations: 0.8684 MB / 0.636 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005501/0.5868, allocations: 96.47 kB / 0.6361 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.5869, allocations: 43.44 kB / 0.6361 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.587, allocations: 4 kB / 0.6361 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of Templates: time 0.2251/0.812, allocations: 10.02 MB / 0.6459 GB, free: 159.6 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: