Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.624/2.624, allocations: 287.5 MB / 302.4 MB, free: 8.285 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.001458/0.001458, allocations: 190 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001037/0.001037, allocations: 95 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004967, allocations: 15.7 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2349, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.9291/1.164, allocations: 158 MB / 1.133 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005655/1.17, allocations: 2.157 MB / 1.135 GB, free: 15.63 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009244/1.171, allocations: 14 kB / 1.135 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/1.172, allocations: 151.8 kB / 1.135 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003322/1.175, allocations: 0.6579 MB / 1.136 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003193/1.178, allocations: 0.6323 MB / 1.136 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002379/1.181, allocations: 1.145 MB / 1.137 GB, free: 14.88 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006184/1.181, allocations: 248.9 kB / 1.137 GB, free: 14.85 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/1.183, allocations: 416 kB / 1.138 GB, free: 14.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/1.183, allocations: 309.1 kB / 1.138 GB, free: 14.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/1.183, allocations: 19.5 kB / 1.138 GB, free: 14.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/1.186, allocations: 0.5289 MB / 1.139 GB, free: 14.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/1.186, allocations: 132.4 kB / 1.139 GB, free: 14.56 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/1.186, allocations: 109.3 kB / 1.139 GB, free: 14.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/1.188, allocations: 0.5552 MB / 1.139 GB, free: 14.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.188, allocations: 0 / 1.139 GB, free: 14.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.395e-06/1.188, allocations: 4 kB / 1.139 GB, free: 14.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.979e-06/1.188, allocations: 0 / 1.139 GB, free: 14.42 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.00179/1.19, allocations: 0.7377 MB / 1.14 GB, free: 13.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.19, allocations: 9.062 kB / 1.14 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/1.191, allocations: 174.7 kB / 1.14 GB, free: 13.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/1.192, allocations: 366.2 kB / 1.141 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/1.193, allocations: 26.06 kB / 1.141 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/1.193, allocations: 32.42 kB / 1.141 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009473/1.194, allocations: 371.2 kB / 1.141 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.194, allocations: 5.062 kB / 1.141 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/1.194, allocations: 11.28 kB / 1.141 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/1.194, allocations: 12.05 kB / 1.141 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008639/1.195, allocations: 266.4 kB / 1.141 GB, free: 13.47 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.003062/1.198, allocations: 1.674 MB / 1.143 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/1.198, allocations: 211.7 kB / 1.143 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/1.199, allocations: 120.6 kB / 1.143 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/1.2, allocations: 0.8897 MB / 1.144 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/1.2, allocations: 39.88 kB / 1.144 GB, free: 11.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.677e-06/1.2, allocations: 0 / 1.144 GB, free: 11.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001545/1.202, allocations: 369.8 kB / 1.145 GB, free: 11.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.202, allocations: 60.58 kB / 1.145 GB, free: 11.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/1.203, allocations: 416 kB / 1.145 GB, free: 11.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/1.203, allocations: 30.27 kB / 1.145 GB, free: 10.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/1.203, allocations: 212.8 kB / 1.145 GB, free: 10.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/1.203, allocations: 82.67 kB / 1.145 GB, free: 10.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/1.203, allocations: 8.562 kB / 1.145 GB, free: 10.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.204, allocations: 355 kB / 1.146 GB, free: 10.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/1.204, allocations: 79.17 kB / 1.146 GB, free: 10.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/1.204, allocations: 133.8 kB / 1.146 GB, free: 10.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/1.205, allocations: 97.45 kB / 1.146 GB, free: 10.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.205, allocations: 0 / 1.146 GB, free: 10.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009721/1.206, allocations: 289 kB / 1.146 GB, free: 10.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.206, allocations: 6 kB / 1.146 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.206, allocations: 1.969 kB / 1.146 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/1.206, allocations: 2.531 kB / 1.146 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/1.206, allocations: 57.7 kB / 1.146 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.206, allocations: 1.5 kB / 1.146 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/1.207, allocations: 47.97 kB / 1.146 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/1.207, allocations: 11 kB / 1.146 GB, free: 10.38 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.0003204/1.207, allocations: 167.7 kB / 1.147 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.207, allocations: 39.94 kB / 1.147 GB, free: 10.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009866/1.208, allocations: 304.1 kB / 1.147 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.208, allocations: 2.688 kB / 1.147 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.208, allocations: 0 / 1.147 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.208, allocations: 2.203 kB / 1.147 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/1.21, allocations: 0.8215 MB / 1.148 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/1.211, allocations: 5.188 kB / 1.148 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/1.211, allocations: 47.64 kB / 1.148 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/1.211, allocations: 9.578 kB / 1.148 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/1.211, allocations: 6.125 kB / 1.148 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/1.211, allocations: 3.219 kB / 1.148 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.211, allocations: 10.08 kB / 1.148 GB, free: 9.738 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.212, allocations: 0.5137 MB / 1.148 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/1.213, allocations: 144.5 kB / 1.148 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/1.213, allocations: 7.406 kB / 1.148 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/1.213, allocations: 34.5 kB / 1.148 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/1.213, allocations: 23.72 kB / 1.149 GB, free: 9.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/1.214, allocations: 10.67 kB / 1.149 GB, free: 9.324 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005378/1.214, allocations: 299.9 kB / 1.149 GB, free: 9.199 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.214, allocations: 0 / 1.149 GB, free: 9.199 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006946/1.215, allocations: 112.6 kB / 1.149 GB, free: 9.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.0006492/1.215, allocations: 198.4 kB / 1.149 GB, free: 9.051 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008289/1.216, allocations: 211.8 kB / 1.149 GB, free: 9.016 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.216, allocations: 0 / 1.149 GB, free: 9.016 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003972/1.217, allocations: 122.6 kB / 1.149 GB, free: 8.988 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/1.219, allocations: 213.2 kB / 1.15 GB, free: 8.922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/1.221, allocations: 1.091 MB / 1.151 GB, free: 8.164 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/1.222, allocations: 0.8286 MB / 1.152 GB, free: 7.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006339/1.223, allocations: 85.92 kB / 1.152 GB, free: 7.367 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/1.223, allocations: 35.59 kB / 1.152 GB, free: 7.359 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.223, allocations: 0 / 1.152 GB, free: 7.359 MB / 0.698 GB Notification: Performance of Templates: time 0.02509/1.248, allocations: 7.404 MB / 1.159 GB, free: 3.699 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)