Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.59/1.59, allocations: 288.4 MB / 303.6 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000978/0.0009781, allocations: 176.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008334/0.0008338, allocations: 98.3 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004288, allocations: 15.44 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1996, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5381/0.7377, allocations: 158 MB / 1.134 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003456/0.7412, allocations: 2.151 MB / 1.136 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000417/0.7417, allocations: 15.88 kB / 1.136 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.7424, allocations: 167.9 kB / 1.137 GB, free: 15.9 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.7443, allocations: 0.801 MB / 1.137 GB, free: 15.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.7463, allocations: 0.7183 MB / 1.138 GB, free: 15.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.7476, allocations: 1.163 MB / 1.139 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004617/0.7481, allocations: 275.7 kB / 1.14 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007483/0.7488, allocations: 410.8 kB / 1.14 GB, free: 15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.7492, allocations: 311.3 kB / 1.14 GB, free: 14.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.7493, allocations: 19.03 kB / 1.14 GB, free: 14.92 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001968/0.7512, allocations: 1.139 MB / 1.141 GB, free: 14.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.7514, allocations: 129.7 kB / 1.141 GB, free: 14.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.7516, allocations: 235.9 kB / 1.142 GB, free: 14.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000786/0.7524, allocations: 0.6315 MB / 1.142 GB, free: 14.31 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.7525, allocations: 1.062 kB / 1.142 GB, free: 14.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7525, allocations: 0 / 1.142 GB, free: 14.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7525, allocations: 0 / 1.142 GB, free: 14.31 MB / 0.698 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.001135/0.7536, allocations: 0.7325 MB / 1.143 GB, free: 13.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.7537, allocations: 10.19 kB / 1.143 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.7549, allocations: 178.1 kB / 1.143 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.7554, allocations: 372.2 kB / 1.144 GB, free: 13.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.7554, allocations: 23.47 kB / 1.144 GB, free: 13.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.7555, allocations: 35.69 kB / 1.144 GB, free: 13.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.7561, allocations: 372.5 kB / 1.144 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.7562, allocations: 5.312 kB / 1.144 GB, free: 13.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.7562, allocations: 15.06 kB / 1.144 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.7562, allocations: 12.59 kB / 1.144 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.7567, allocations: 273.3 kB / 1.144 GB, free: 13.11 MB / 0.698 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.00185/0.7586, allocations: 1.679 MB / 1.146 GB, free: 11.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.759, allocations: 210.8 kB / 1.146 GB, free: 11.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.7592, allocations: 120.1 kB / 1.146 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009902/0.7602, allocations: 0.8885 MB / 1.147 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.7603, allocations: 35.12 kB / 1.147 GB, free: 10.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/0.7603, allocations: 1.031 kB / 1.147 GB, free: 10.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008615/0.7611, allocations: 368.6 kB / 1.147 GB, free: 10.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.7612, allocations: 54.12 kB / 1.148 GB, free: 10.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.7616, allocations: 417.6 kB / 1.148 GB, free: 10.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.7616, allocations: 29.02 kB / 1.148 GB, free: 10.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.7618, allocations: 220.1 kB / 1.148 GB, free: 10.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.7619, allocations: 84.55 kB / 1.148 GB, free: 10.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.7619, allocations: 4.844 kB / 1.148 GB, free: 10.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7621, allocations: 354.3 kB / 1.149 GB, free: 9.762 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.7623, allocations: 79.27 kB / 1.149 GB, free: 9.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.7625, allocations: 131.8 kB / 1.149 GB, free: 9.695 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.7629, allocations: 221.5 kB / 1.149 GB, free: 9.633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7629, allocations: 0 / 1.149 GB, free: 9.633 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005244/0.7635, allocations: 294.8 kB / 1.149 GB, free: 9.543 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.7635, allocations: 5.719 kB / 1.149 GB, free: 9.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7635, allocations: 5.438 kB / 1.149 GB, free: 9.539 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7635, allocations: 1.5 kB / 1.149 GB, free: 9.539 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.7638, allocations: 53.12 kB / 1.149 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.7638, allocations: 6.812 kB / 1.149 GB, free: 9.527 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.7641, allocations: 39.48 kB / 1.149 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.7641, allocations: 16.67 kB / 1.149 GB, free: 9.5 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.7643, allocations: 160.1 kB / 1.15 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.7643, allocations: 39.94 kB / 1.15 GB, free: 9.359 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005676/0.7649, allocations: 301.6 kB / 1.15 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.7649, allocations: 7.25 kB / 1.15 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.765, allocations: 3.984 kB / 1.15 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.765, allocations: 0 / 1.15 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.7662, allocations: 0.8178 MB / 1.151 GB, free: 8.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7662, allocations: 1.625 kB / 1.151 GB, free: 8.758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.7664, allocations: 57.25 kB / 1.151 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.7664, allocations: 2.844 kB / 1.151 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.7665, allocations: 16.64 kB / 1.151 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.7665, allocations: 6.812 kB / 1.151 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7665, allocations: 1.156 kB / 1.151 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007634/0.7672, allocations: 0.5164 MB / 1.151 GB, free: 8.473 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.7674, allocations: 148.7 kB / 1.151 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.7675, allocations: 5.344 kB / 1.151 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.7678, allocations: 31.09 kB / 1.151 GB, free: 8.328 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.7678, allocations: 16.67 kB / 1.151 GB, free: 8.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.7679, allocations: 11.12 kB / 1.151 GB, free: 8.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000306/0.7682, allocations: 299.2 kB / 1.152 GB, free: 8.199 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7682, allocations: 0 / 1.152 GB, free: 8.199 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000459/0.7686, allocations: 114.7 kB / 1.152 GB, free: 8.188 MB / 0.698 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 (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.0004044/0.7691, allocations: 198 kB / 1.152 GB, free: 8.051 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000499/0.7696, allocations: 215.4 kB / 1.152 GB, free: 8.012 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7696, allocations: 1.375 kB / 1.152 GB, free: 8.012 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.7698, allocations: 119.7 kB / 1.152 GB, free: 7.984 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.7711, allocations: 221.2 kB / 1.153 GB, free: 7.914 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.7727, allocations: 1.077 MB / 1.154 GB, free: 7.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.773, allocations: 0.8242 MB / 1.154 GB, free: 6.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003138/0.7734, allocations: 85.44 kB / 1.155 GB, free: 6.367 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.7734, allocations: 32.34 kB / 1.155 GB, free: 6.359 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.7735, allocations: 0 / 1.155 GB, free: 6.359 MB / 0.698 GB Notification: Performance of Templates: time 0.01364/0.7871, allocations: 7.56 MB / 1.162 GB, free: 2.645 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)