Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001126/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001329/0.001329, allocations: 189 kB / 16.13 MB, free: 6.652 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.402/1.402, allocations: 205.1 MB / 222 MB, free: 4.945 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 63.08 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2612, allocations: 114.6 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5918/0.853, allocations: 171.5 MB / 0.9502 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003424/0.8565, allocations: 2.314 MB / 0.9524 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.8569, allocations: 14.59 kB / 0.9525 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.8576, allocations: 187.5 kB / 0.9526 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.8597, allocations: 0.8549 MB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.8619, allocations: 0.7692 MB / 0.9542 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.8638, allocations: 1.339 MB / 0.9555 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.8642, allocations: 280.8 kB / 0.9558 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007491/0.865, allocations: 422.6 kB / 0.9562 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.8654, allocations: 327 kB / 0.9565 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.8654, allocations: 24.81 kB / 0.9565 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.8676, allocations: 1.161 MB / 0.9577 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.8678, allocations: 143.2 kB / 0.9578 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.8682, allocations: 225.1 kB / 0.958 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.87, allocations: 0.9574 MB / 0.959 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.87, allocations: 1.203 kB / 0.959 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8701, allocations: 0.6562 kB / 0.959 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.8701, allocations: 0 / 0.959 GB, free: 5.328 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001905/0.872, allocations: 0.8147 MB / 0.9597 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.8721, allocations: 10.42 kB / 0.9598 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.8735, allocations: 172.3 kB / 0.9599 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.874, allocations: 377.7 kB / 0.9603 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.8741, allocations: 23.38 kB / 0.9603 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.8741, allocations: 30.88 kB / 0.9603 GB, free: 20.49 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.8747, allocations: 377 kB / 0.9607 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.8748, allocations: 0 / 0.9607 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.8748, allocations: 10.47 kB / 0.9607 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.8748, allocations: 16.61 kB / 0.9607 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.8753, allocations: 266.1 kB / 0.961 GB, free: 20.38 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.877, allocations: 1.676 MB / 0.9626 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.8774, allocations: 197.1 kB / 0.9628 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.8776, allocations: 119.9 kB / 0.9629 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.8787, allocations: 0.8773 MB / 0.9638 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.8788, allocations: 32.94 kB / 0.9638 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.8788, allocations: 0 / 0.9638 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0008819/0.8797, allocations: 358.5 kB / 0.9641 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.8797, allocations: 53.97 kB / 0.9642 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.8801, allocations: 429.3 kB / 0.9646 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.8802, allocations: 30.11 kB / 0.9646 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.8803, allocations: 210 kB / 0.9648 GB, free: 17.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.8804, allocations: 84.25 kB / 0.9649 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.8805, allocations: 51.12 kB / 0.965 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8806, allocations: 351.4 kB / 0.9653 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.8808, allocations: 75.59 kB / 0.9654 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.881, allocations: 138.5 kB / 0.9655 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.8814, allocations: 210.5 kB / 0.9657 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.8814, allocations: 0 / 0.9657 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004971/0.8819, allocations: 288.4 kB / 0.966 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8819, allocations: 5.406 kB / 0.966 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8819, allocations: 1.75 kB / 0.966 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.882, allocations: 1.719 kB / 0.966 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.8822, allocations: 53.05 kB / 0.966 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.8822, allocations: 7.547 kB / 0.966 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.8825, allocations: 40.39 kB / 0.9661 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.8825, allocations: 7.625 kB / 0.9661 GB, free: 17.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0002306/0.8828, allocations: 170.3 kB / 0.9663 GB, free: 17.19 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.8829, allocations: 39.69 kB / 0.9663 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005319/0.8834, allocations: 283.3 kB / 0.9666 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.8834, allocations: 2.438 kB / 0.9666 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.8834, allocations: 4 kB / 0.9666 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8834, allocations: 4.453 kB / 0.9666 GB, free: 17.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.8845, allocations: 0.8112 MB / 0.9674 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8846, allocations: 4.266 kB / 0.9674 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.8848, allocations: 43.42 kB / 0.9674 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.8848, allocations: 7.156 kB / 0.9674 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.8848, allocations: 9.891 kB / 0.9674 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.8848, allocations: 2.375 kB / 0.9674 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8848, allocations: 5.062 kB / 0.9674 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.8856, allocations: 0.5101 MB / 0.9679 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.8857, allocations: 148.8 kB / 0.9681 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.8858, allocations: 11.72 kB / 0.9681 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.8861, allocations: 22.72 kB / 0.9681 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.8862, allocations: 19.56 kB / 0.9681 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.8862, allocations: 10.86 kB / 0.9681 GB, free: 16.41 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002853/0.8865, allocations: 304 kB / 0.9684 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8865, allocations: 0 / 0.9684 GB, free: 16.33 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004818/0.887, allocations: 116.1 kB / 0.9685 GB, free: 16.32 MB / 0.7481 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 (23): * Single equations (assignments): 23 * 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.0003697/0.8873, allocations: 187.7 kB / 0.9687 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.8878, allocations: 211.1 kB / 0.9689 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8878, allocations: 2.359 kB / 0.9689 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.888, allocations: 109.9 kB / 0.969 GB, free: 16.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.8891, allocations: 214.3 kB / 0.9692 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.8906, allocations: 1.034 MB / 0.9702 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.891, allocations: 0.8285 MB / 0.971 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.8913, allocations: 94.03 kB / 0.9711 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.8914, allocations: 32.84 kB / 0.9712 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8914, allocations: 0 / 0.9712 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of Templates: time 0.01415/0.9056, allocations: 7.675 MB / 0.9787 GB, free: 14.38 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)