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.001697/0.001697, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00202/0.00202, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9464/0.9464, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 60.84 kB / 0.5047 GB, free: 5.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1731, allocations: 80.93 MB / 0.5837 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4683/0.6414, allocations: 171.5 MB / 0.7512 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004096/0.6455, allocations: 2.32 MB / 0.7535 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007551/0.6463, allocations: 19.5 kB / 0.7535 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.6472, allocations: 186.7 kB / 0.7537 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/0.6496, allocations: 0.887 MB / 0.7546 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.6517, allocations: 0.7464 MB / 0.7553 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001394/0.6531, allocations: 1.335 MB / 0.7566 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004677/0.6536, allocations: 292 kB / 0.7569 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008147/0.6544, allocations: 418.3 kB / 0.7573 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.6548, allocations: 318.7 kB / 0.7576 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.6549, allocations: 24 kB / 0.7576 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.6568, allocations: 1.169 MB / 0.7587 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.657, allocations: 143.5 kB / 0.7589 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.6573, allocations: 222.9 kB / 0.7591 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.6587, allocations: 0.9503 MB / 0.76 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6588, allocations: 8 kB / 0.76 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6588, allocations: 0 / 0.76 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.6588, allocations: 0 / 0.76 GB, free: 8.988 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.001369/0.6602, allocations: 0.8097 MB / 0.7608 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6602, allocations: 12.03 kB / 0.7608 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.6615, allocations: 179.2 kB / 0.761 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.662, allocations: 369.4 kB / 0.7613 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.662, allocations: 24.66 kB / 0.7614 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.6621, allocations: 32 kB / 0.7614 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.6627, allocations: 369.1 kB / 0.7618 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.6628, allocations: 4 kB / 0.7618 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.6628, allocations: 8 kB / 0.7618 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.6628, allocations: 15.94 kB / 0.7618 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.6633, allocations: 261.5 kB / 0.762 GB, free: 6.828 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.001982/0.6653, allocations: 1.675 MB / 0.7637 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.6658, allocations: 207.3 kB / 0.7639 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.666, allocations: 118 kB / 0.764 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.6671, allocations: 0.8701 MB / 0.7648 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.6671, allocations: 34.56 kB / 0.7649 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.6671, allocations: 4 kB / 0.7649 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009113/0.6681, allocations: 356.5 kB / 0.7652 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.6681, allocations: 59.41 kB / 0.7653 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.6686, allocations: 414 kB / 0.7657 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.6686, allocations: 33.7 kB / 0.7657 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.6688, allocations: 224.2 kB / 0.7659 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.6688, allocations: 82.78 kB / 0.766 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.6689, allocations: 45.7 kB / 0.766 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6691, allocations: 358.7 kB / 0.7664 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.6693, allocations: 75.89 kB / 0.7664 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.6695, allocations: 124.5 kB / 0.7666 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.6699, allocations: 214.4 kB / 0.7668 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6699, allocations: 4 kB / 0.7668 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005238/0.6704, allocations: 277 kB / 0.767 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6704, allocations: 4 kB / 0.767 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6705, allocations: 4.031 kB / 0.767 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.6705, allocations: 4 kB / 0.767 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.6707, allocations: 51.91 kB / 0.7671 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.6707, allocations: 0 / 0.7671 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.671, allocations: 47.59 kB / 0.7671 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.671, allocations: 12 kB / 0.7671 GB, free: 1.176 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.0001596/0.6712, allocations: 161.8 kB / 0.7673 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.062e-05/0.6713, allocations: 47.44 kB / 0.7673 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/0.6719, allocations: 282.3 kB / 0.7676 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6719, allocations: 4 kB / 0.7676 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6719, allocations: 112 / 0.7676 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6719, allocations: 7.875 kB / 0.7676 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.6731, allocations: 0.8113 MB / 0.7684 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6731, allocations: 0 / 0.7684 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.6734, allocations: 52.09 kB / 0.7685 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.6734, allocations: 5.5 kB / 0.7685 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.6734, allocations: 8.094 kB / 0.7685 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6734, allocations: 4 kB / 0.7685 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6734, allocations: 3.984 kB / 0.7685 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/0.6742, allocations: 0.5103 MB / 0.769 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.6743, allocations: 144.6 kB / 0.7691 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.6744, allocations: 4 kB / 0.7691 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.6747, allocations: 31.88 kB / 0.7692 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.6748, allocations: 19.92 kB / 0.7692 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.6748, allocations: 12 kB / 0.7692 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003064/0.6751, allocations: 303.1 kB / 0.7695 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6751, allocations: 0 / 0.7695 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004446/0.6756, allocations: 115.8 kB / 0.7696 GB, free: 14.54 MB / 0.5919 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.0004379/0.676, allocations: 186 kB / 0.7698 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004753/0.6765, allocations: 203.8 kB / 0.77 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6765, allocations: 4 kB / 0.77 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.6767, allocations: 115.8 kB / 0.7701 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.6778, allocations: 224.3 kB / 0.7703 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.6794, allocations: 1.033 MB / 0.7713 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.6798, allocations: 0.8236 MB / 0.7721 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.6801, allocations: 83.97 kB / 0.7722 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.6802, allocations: 31.44 kB / 0.7722 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.6802, allocations: 4 kB / 0.7722 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.01381/0.694, allocations: 7.68 MB / 0.7797 GB, free: 4.281 MB / 0.5919 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)