Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001274/0.001274, allocations: 107.7 kB / 17.03 MB, free: 6.082 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.001181/0.001181, allocations: 196 kB / 17.98 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7326/0.7326, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 60.12 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3546, allocations: 76.14 MB / 0.5576 GB, free: 36.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.1836/0.5383, allocations: 173.8 MB / 0.7273 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004252/0.5426, allocations: 2.305 MB / 0.7295 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.5432, allocations: 15.94 kB / 0.7296 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008427/0.5441, allocations: 238.3 kB / 0.7298 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.5464, allocations: 0.9255 MB / 0.7307 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.5487, allocations: 0.8229 MB / 0.7315 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.55, allocations: 0.9585 MB / 0.7324 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004815/0.5505, allocations: 330.9 kB / 0.7327 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007281/0.5512, allocations: 462.3 kB / 0.7332 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.5516, allocations: 306.7 kB / 0.7335 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.5517, allocations: 36 kB / 0.7335 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.5535, allocations: 0.9937 MB / 0.7345 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.5536, allocations: 151.5 kB / 0.7346 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.5539, allocations: 234.9 kB / 0.7348 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.5551, allocations: 0.9094 MB / 0.7357 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5551, allocations: 0 / 0.7357 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5552, allocations: 4 kB / 0.7357 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.5552, allocations: 0 / 0.7357 GB, free: 13.52 MB / 0.5762 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.001225/0.5564, allocations: 0.8022 MB / 0.7365 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5565, allocations: 8.031 kB / 0.7365 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.5577, allocations: 191.1 kB / 0.7367 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007116/0.5584, allocations: 389.5 kB / 0.7371 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.5584, allocations: 20.66 kB / 0.7371 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.5585, allocations: 32 kB / 0.7371 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.5592, allocations: 365.1 kB / 0.7375 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.5593, allocations: 7.906 kB / 0.7375 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.5593, allocations: 15.94 kB / 0.7375 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.5594, allocations: 19.92 kB / 0.7375 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.5599, allocations: 254 kB / 0.7378 GB, free: 11.33 MB / 0.5762 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.001866/0.5618, allocations: 1.673 MB / 0.7394 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.5621, allocations: 206.5 kB / 0.7396 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.5624, allocations: 108.8 kB / 0.7397 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009541/0.5634, allocations: 0.8701 MB / 0.7405 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5634, allocations: 42.56 kB / 0.7406 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.5635, allocations: 7.938 kB / 0.7406 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008624/0.5643, allocations: 351 kB / 0.7409 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.5644, allocations: 59.41 kB / 0.741 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.5648, allocations: 421.9 kB / 0.7414 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.5648, allocations: 29.7 kB / 0.7414 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.565, allocations: 224.2 kB / 0.7416 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.5651, allocations: 86.75 kB / 0.7417 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.5652, allocations: 45.7 kB / 0.7418 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5653, allocations: 354.7 kB / 0.7421 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.5655, allocations: 75.95 kB / 0.7422 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.5657, allocations: 127.4 kB / 0.7423 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.566, allocations: 209.3 kB / 0.7425 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5661, allocations: 0 / 0.7425 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005045/0.5666, allocations: 285.8 kB / 0.7428 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5666, allocations: 8.062 kB / 0.7428 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5666, allocations: 7.984 kB / 0.7428 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5666, allocations: 4 kB / 0.7428 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.5669, allocations: 43.92 kB / 0.7428 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5669, allocations: 4 kB / 0.7428 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.5671, allocations: 35.61 kB / 0.7429 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.5671, allocations: 12 kB / 0.7429 GB, free: 5.676 MB / 0.5762 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.0001618/0.5673, allocations: 165.8 kB / 0.743 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.5674, allocations: 43.53 kB / 0.7431 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.5679, allocations: 282.2 kB / 0.7433 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.568, allocations: 0 / 0.7433 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.568, allocations: 4 kB / 0.7433 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.568, allocations: 3.938 kB / 0.7433 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.5692, allocations: 0.8112 MB / 0.7441 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5692, allocations: 4.109 kB / 0.7441 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.5694, allocations: 47.84 kB / 0.7442 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5694, allocations: 4 kB / 0.7442 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.5694, allocations: 8.188 kB / 0.7442 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.5694, allocations: 12 kB / 0.7442 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5695, allocations: 0 / 0.7442 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007238/0.5702, allocations: 0.516 MB / 0.7447 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.5703, allocations: 140.6 kB / 0.7449 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.5704, allocations: 11.98 kB / 0.7449 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.5707, allocations: 11.98 kB / 0.7449 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.5707, allocations: 19.98 kB / 0.7449 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.5707, allocations: 12 kB / 0.7449 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003326/0.5711, allocations: 303.1 kB / 0.7452 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5711, allocations: 0 / 0.7452 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004345/0.5715, allocations: 115.8 kB / 0.7453 GB, free: 3.043 MB / 0.5762 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.0003938/0.5719, allocations: 205.4 kB / 0.7455 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.5724, allocations: 206.2 kB / 0.7457 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5724, allocations: 0 / 0.7457 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.5726, allocations: 118.1 kB / 0.7458 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/0.5736, allocations: 213.9 kB / 0.746 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.575, allocations: 0.8875 MB / 0.7469 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.5753, allocations: 0.8272 MB / 0.7477 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002585/0.5756, allocations: 91.33 kB / 0.7478 GB, free: 460 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.5757, allocations: 35.44 kB / 0.7478 GB, free: 424 kB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.5757, allocations: 4 kB / 0.7478 GB, free: 420 kB / 0.5762 GB Notification: Performance of Templates: time 0.2618/0.8375, allocations: 8.027 MB / 0.7557 GB, free: 175.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)