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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 102.1 kB / 16.4 MB, free: 6.406 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: 192.2 kB / 17.35 MB, free: 5.695 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8075/0.8075, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 66.41 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1745, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.6645/0.839, allocations: 173.8 MB / 0.835 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003984/0.843, allocations: 2.305 MB / 0.8373 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.8435, allocations: 15.81 kB / 0.8373 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.8443, allocations: 227.1 kB / 0.8375 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.8465, allocations: 0.9307 MB / 0.8384 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.8486, allocations: 0.8296 MB / 0.8392 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.8498, allocations: 0.9632 MB / 0.8402 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.8503, allocations: 336.9 kB / 0.8405 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000669/0.851, allocations: 457.7 kB / 0.8409 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.8513, allocations: 310.7 kB / 0.8412 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.8514, allocations: 35.09 kB / 0.8413 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.8531, allocations: 0.9864 MB / 0.8422 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.8533, allocations: 152.5 kB / 0.8424 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.8535, allocations: 233 kB / 0.8426 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.8548, allocations: 0.9155 MB / 0.8435 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8548, allocations: 4 kB / 0.8435 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8548, allocations: 0 / 0.8435 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.8548, allocations: 0 / 0.8435 GB, free: 4.809 MB / 0.6075 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.001217/0.856, allocations: 0.7982 MB / 0.8443 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8561, allocations: 14.98 kB / 0.8443 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.8573, allocations: 183.9 kB / 0.8444 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.8579, allocations: 387.2 kB / 0.8448 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.858, allocations: 23.34 kB / 0.8448 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.858, allocations: 30.22 kB / 0.8449 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.8586, allocations: 370.2 kB / 0.8452 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.8587, allocations: 5.812 kB / 0.8452 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.8587, allocations: 11.06 kB / 0.8452 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.8587, allocations: 13.53 kB / 0.8453 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.8592, allocations: 264.7 kB / 0.8455 GB, free: 3.281 MB / 0.6075 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.001698/0.8609, allocations: 1.676 MB / 0.8471 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.8613, allocations: 214.3 kB / 0.8473 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.8615, allocations: 110.4 kB / 0.8474 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009737/0.8625, allocations: 0.8694 MB / 0.8483 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.8625, allocations: 41.28 kB / 0.8483 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.8625, allocations: 0 / 0.8483 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008673/0.8634, allocations: 356.5 kB / 0.8487 GB, free: 372 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.8635, allocations: 53.5 kB / 0.8487 GB, free: 308 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.8639, allocations: 422.5 kB / 0.8491 GB, free: 48 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.8639, allocations: 32.42 kB / 0.8492 GB, free: 12 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.8641, allocations: 218.7 kB / 0.8494 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.8642, allocations: 80.89 kB / 0.8494 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.8643, allocations: 47.17 kB / 0.8495 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8644, allocations: 357.2 kB / 0.8498 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.8646, allocations: 78.55 kB / 0.8499 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.8648, allocations: 131.3 kB / 0.85 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.8652, allocations: 203.8 kB / 0.8502 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8652, allocations: 0 / 0.8502 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004835/0.8657, allocations: 277.3 kB / 0.8505 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8657, allocations: 11.34 kB / 0.8505 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8657, allocations: 3.938 kB / 0.8505 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8658, allocations: 6.125 kB / 0.8505 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.866, allocations: 51.97 kB / 0.8506 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.866, allocations: 6.594 kB / 0.8506 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.8662, allocations: 31.39 kB / 0.8506 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.8663, allocations: 7.625 kB / 0.8506 GB, free: 14.94 MB / 0.6231 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.0001611/0.8664, allocations: 162.6 kB / 0.8508 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.8665, allocations: 47.59 kB / 0.8508 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005397/0.8671, allocations: 285.9 kB / 0.8511 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.8671, allocations: 2.25 kB / 0.8511 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.8671, allocations: 3.938 kB / 0.8511 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.8671, allocations: 6.797 kB / 0.8511 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.8682, allocations: 0.8136 MB / 0.8519 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8682, allocations: 112 / 0.8519 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.8685, allocations: 46.98 kB / 0.8519 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8685, allocations: 6.938 kB / 0.8519 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.8685, allocations: 9.188 kB / 0.8519 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/0.8685, allocations: 6.266 kB / 0.852 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.8685, allocations: 3.75 kB / 0.852 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.8693, allocations: 0.5054 MB / 0.8524 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.8694, allocations: 148.9 kB / 0.8526 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.8695, allocations: 6.5 kB / 0.8526 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.8698, allocations: 15.58 kB / 0.8526 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.8698, allocations: 26.06 kB / 0.8526 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.8698, allocations: 8.969 kB / 0.8526 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002967/0.8701, allocations: 300.1 kB / 0.8529 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8702, allocations: 3.938 kB / 0.8529 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004393/0.8706, allocations: 119.5 kB / 0.8531 GB, free: 13.17 MB / 0.6231 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.0004241/0.871, allocations: 185.8 kB / 0.8532 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.8715, allocations: 210 kB / 0.8534 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8715, allocations: 0 / 0.8534 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.8717, allocations: 116.4 kB / 0.8535 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.8728, allocations: 229.7 kB / 0.8538 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.8743, allocations: 0.9241 MB / 0.8547 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.8747, allocations: 0.8321 MB / 0.8555 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.8748, allocations: 38.94 kB / 0.8555 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.8748, allocations: 0 / 0.8555 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.009003/0.8838, allocations: 6.632 MB / 0.862 GB, free: 5.211 MB / 0.6231 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)