Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001155/0.001155, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001574/0.001574, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5504/0.5504, allocations: 95.59 MB / 366 MB, free: 10.39 MB / 302.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: Buildings requested package Modelica of version 3.2.1. 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.0006071/0.0006072, allocations: 16 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2638, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.3892/0.653, allocations: 153.9 MB / 0.6553 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004218/0.6573, allocations: 2.479 MB / 0.6577 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007258/0.6581, allocations: 20.59 kB / 0.6578 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008881/0.659, allocations: 243.1 kB / 0.658 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.6612, allocations: 0.7977 MB / 0.6588 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.6636, allocations: 0.8303 MB / 0.6596 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.6651, allocations: 0.7921 MB / 0.6603 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006142/0.6657, allocations: 364 kB / 0.6607 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.6666, allocations: 448.9 kB / 0.6611 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00046/0.667, allocations: 333.6 kB / 0.6614 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-05/0.6671, allocations: 29.88 kB / 0.6615 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.6693, allocations: 0.9386 MB / 0.6624 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000221/0.6695, allocations: 193.7 kB / 0.6626 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.6698, allocations: 158 kB / 0.6627 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.6714, allocations: 0.9802 MB / 0.6637 GB, free: 1.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6714, allocations: 0 / 0.6637 GB, free: 1.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.6714, allocations: 5 kB / 0.6637 GB, free: 1.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.6714, allocations: 0 / 0.6637 GB, free: 1.188 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001797/0.6732, allocations: 0.9707 MB / 0.6646 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.6733, allocations: 15.7 kB / 0.6646 GB, free: 16.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.6735, allocations: 80.05 kB / 0.6647 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.6742, allocations: 483.2 kB / 0.6652 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.6743, allocations: 35.66 kB / 0.6652 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.6744, allocations: 46.44 kB / 0.6653 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008599/0.6752, allocations: 0.5751 MB / 0.6658 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.6753, allocations: 0 / 0.6658 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.6753, allocations: 27.89 kB / 0.6659 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.6753, allocations: 17.44 kB / 0.6659 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.6762, allocations: 0.5352 MB / 0.6664 GB, free: 16.16 MB / 0.4981 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.002804/0.679, allocations: 2.238 MB / 0.6686 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005968/0.6796, allocations: 349.3 kB / 0.6689 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.6809, allocations: 1.395 MB / 0.6703 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.6809, allocations: 36.81 kB / 0.6703 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.883e-06/0.6809, allocations: 0 / 0.6703 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.00103/0.682, allocations: 0.5476 MB / 0.6708 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.682, allocations: 59.56 kB / 0.6709 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.6826, allocations: 0.6073 MB / 0.6715 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.6827, allocations: 36.17 kB / 0.6715 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.6828, allocations: 288.5 kB / 0.6718 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.617e-05/0.6829, allocations: 123.4 kB / 0.6719 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/0.683, allocations: 12.16 kB / 0.6719 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6831, allocations: 372.4 kB / 0.6723 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.6834, allocations: 161.7 kB / 0.6724 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.6837, allocations: 235.9 kB / 0.6727 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.684, allocations: 191 kB / 0.6728 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.684, allocations: 0 / 0.6728 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008141/0.6848, allocations: 0.5011 MB / 0.6733 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6848, allocations: 9.719 kB / 0.6733 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6848, allocations: 7.297 kB / 0.6734 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.6849, allocations: 1.969 kB / 0.6734 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.6853, allocations: 96.56 kB / 0.6734 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6853, allocations: 4.938 kB / 0.6735 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.6857, allocations: 68.69 kB / 0.6735 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.6858, allocations: 20.19 kB / 0.6735 GB, free: 12.39 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002438/0.686, allocations: 201.3 kB / 0.6737 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.6861, allocations: 62.06 kB / 0.6738 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.6872, allocations: 0.6392 MB / 0.6744 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.6872, allocations: 4.938 kB / 0.6744 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6873, allocations: 0 / 0.6744 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.6873, allocations: 3.094 kB / 0.6744 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.6888, allocations: 1.178 MB / 0.6756 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6888, allocations: 0 / 0.6756 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.6891, allocations: 72.81 kB / 0.6756 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6891, allocations: 0 / 0.6756 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.6891, allocations: 12.03 kB / 0.6756 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.6892, allocations: 7.031 kB / 0.6757 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6892, allocations: 2.906 kB / 0.6757 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.6903, allocations: 0.9141 MB / 0.6766 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.6907, allocations: 221.5 kB / 0.6768 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.281e-05/0.6908, allocations: 11.16 kB / 0.6768 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.6912, allocations: 32.34 kB / 0.6768 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.6913, allocations: 25.88 kB / 0.6768 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.6914, allocations: 25.38 kB / 0.6769 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004695/0.6918, allocations: 488.2 kB / 0.6773 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6918, allocations: 0 / 0.6773 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009081/0.6928, allocations: 358.3 kB / 0.6777 GB, free: 11.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008412/0.6936, allocations: 449 kB / 0.6781 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007122/0.6943, allocations: 432.3 kB / 0.6785 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6943, allocations: 3.094 kB / 0.6785 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.6947, allocations: 237.8 kB / 0.6787 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.6962, allocations: 349.3 kB / 0.6791 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.6984, allocations: 1.552 MB / 0.6806 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.6988, allocations: 0.9192 MB / 0.6815 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005371/0.6994, allocations: 131.1 kB / 0.6816 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.6995, allocations: 54.55 kB / 0.6817 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.6995, allocations: 0 / 0.6817 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.02572/0.7253, allocations: 16.38 MB / 0.6977 GB, free: 196 kB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) Environment - environmentSimulation: