Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice") translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.721/0.721, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 404.7 MB, free: 6.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 115.7 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000998/0.0009981, allocations: 55.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1158, allocations: 80.42 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4186/0.5345, allocations: 171.6 MB / 0.8097 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003255/0.5378, allocations: 2.31 MB / 0.8119 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.538, allocations: 15.88 kB / 0.8119 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.5386, allocations: 194.8 kB / 0.8121 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.5404, allocations: 0.8792 MB / 0.813 GB, free: 2.227 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.5421, allocations: 0.7511 MB / 0.8137 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001231/0.5433, allocations: 1.352 MB / 0.815 GB, free: 128 kB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.5437, allocations: 282.3 kB / 0.8153 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.5443, allocations: 418.3 kB / 0.8157 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.5446, allocations: 334.6 kB / 0.816 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.5447, allocations: 20 kB / 0.8161 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.5465, allocations: 1.161 MB / 0.8172 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.5466, allocations: 143.5 kB / 0.8173 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.5469, allocations: 226.8 kB / 0.8175 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.5481, allocations: 0.9503 MB / 0.8185 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5481, allocations: 4 kB / 0.8185 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.11e-07/0.5481, allocations: 0 / 0.8185 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.5481, allocations: 4 kB / 0.8185 GB, free: 12.59 MB / 0.5573 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.001188/0.5493, allocations: 0.806 MB / 0.8193 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.5493, allocations: 8.031 kB / 0.8193 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.5505, allocations: 187.2 kB / 0.8194 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.551, allocations: 369.4 kB / 0.8198 GB, free: 11.15 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.551, allocations: 28.66 kB / 0.8198 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.5511, allocations: 28 kB / 0.8199 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005981/0.5517, allocations: 372.7 kB / 0.8202 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5517, allocations: 4 kB / 0.8202 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.5518, allocations: 8 kB / 0.8202 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.5518, allocations: 19.92 kB / 0.8202 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.5523, allocations: 254 kB / 0.8205 GB, free: 10.43 MB / 0.5573 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.001709/0.554, allocations: 1.679 MB / 0.8221 GB, free: 8.613 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.5544, allocations: 206.5 kB / 0.8223 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.5546, allocations: 120.7 kB / 0.8224 GB, free: 8.281 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.5557, allocations: 0.8738 MB / 0.8233 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.5557, allocations: 30.56 kB / 0.8233 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 1.894e-06/0.5557, allocations: 0 / 0.8233 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.0008797/0.5566, allocations: 358.8 kB / 0.8237 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.5566, allocations: 55.41 kB / 0.8237 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.5571, allocations: 421.9 kB / 0.8241 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.5571, allocations: 37.64 kB / 0.8241 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.5573, allocations: 208.2 kB / 0.8243 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.5573, allocations: 78.95 kB / 0.8244 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.5574, allocations: 61.55 kB / 0.8245 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5575, allocations: 354.7 kB / 0.8248 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.5577, allocations: 79.94 kB / 0.8249 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.558, allocations: 120.8 kB / 0.825 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.5584, allocations: 213.8 kB / 0.8252 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5584, allocations: 0 / 0.8252 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005202/0.5589, allocations: 281 kB / 0.8255 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5589, allocations: 4 kB / 0.8255 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5589, allocations: 0 / 0.8255 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.559, allocations: 4 kB / 0.8255 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.5592, allocations: 59.94 kB / 0.8255 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5592, allocations: 0 / 0.8255 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.5595, allocations: 43.61 kB / 0.8256 GB, free: 4.777 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.5595, allocations: 8 kB / 0.8256 GB, free: 4.77 MB / 0.5573 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.0001512/0.5597, allocations: 167.1 kB / 0.8258 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.5597, allocations: 47.44 kB / 0.8258 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.5603, allocations: 284.5 kB / 0.8261 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.5603, allocations: 0 / 0.8261 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5603, allocations: 0.6875 kB / 0.8261 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5603, allocations: 7.875 kB / 0.8261 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.5616, allocations: 0.809 MB / 0.8269 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5616, allocations: 0 / 0.8269 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.5618, allocations: 51.91 kB / 0.8269 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.076e-06/0.5618, allocations: 5.688 kB / 0.8269 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.5619, allocations: 12 kB / 0.8269 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5619, allocations: 4 kB / 0.8269 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5619, allocations: 3.938 kB / 0.8269 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009682/0.5716, allocations: 3.56 MB / 0.8304 GB, free: 15.52 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.5718, allocations: 144.7 kB / 0.8306 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.5718, allocations: 8 kB / 0.8306 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.5721, allocations: 27.91 kB / 0.8306 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.5722, allocations: 15.98 kB / 0.8306 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.5722, allocations: 15.98 kB / 0.8306 GB, free: 15.29 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003106/0.5725, allocations: 295.1 kB / 0.8309 GB, free: 15 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5725, allocations: 0 / 0.8309 GB, free: 15 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006331/0.5732, allocations: 179.8 kB / 0.8311 GB, free: 14.83 MB / 0.573 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.0003633/0.5735, allocations: 198.7 kB / 0.8313 GB, free: 14.64 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004633/0.574, allocations: 208.2 kB / 0.8315 GB, free: 14.44 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.574, allocations: 0 / 0.8315 GB, free: 14.44 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.5742, allocations: 121.7 kB / 0.8316 GB, free: 14.32 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.5754, allocations: 211.9 kB / 0.8318 GB, free: 14.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.577, allocations: 1.228 MB / 0.833 GB, free: 12.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.5774, allocations: 0.8314 MB / 0.8338 GB, free: 11.98 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003198/0.5777, allocations: 87.34 kB / 0.8339 GB, free: 11.89 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.5778, allocations: 35.44 kB / 0.8339 GB, free: 11.85 MB / 0.573 GB Notification: Performance of SimCode: time 2.5e-07/0.5778, allocations: 0 / 0.8339 GB, free: 11.85 MB / 0.573 GB Notification: Performance of Templates: time 0.01359/0.5914, allocations: 8.967 MB / 0.8427 GB, free: 2.996 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)