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.001517/0.001517, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 199.2 kB / 16.79 MB, free: 6.809 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9202/0.9202, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.06 kB / 0.5053 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.186, allocations: 80.92 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.5393/0.7254, allocations: 171.6 MB / 0.7519 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004043/0.7294, allocations: 2.32 MB / 0.7541 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005696/0.7301, allocations: 12.03 kB / 0.7541 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008477/0.731, allocations: 192.7 kB / 0.7543 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.7335, allocations: 0.8782 MB / 0.7552 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.7357, allocations: 0.7471 MB / 0.7559 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.7373, allocations: 1.341 MB / 0.7572 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/0.7377, allocations: 279.8 kB / 0.7575 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000733/0.7385, allocations: 418.3 kB / 0.7579 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.7389, allocations: 322.7 kB / 0.7582 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.739, allocations: 23.94 kB / 0.7582 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.7411, allocations: 1.177 MB / 0.7594 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.7413, allocations: 135.6 kB / 0.7595 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.7415, allocations: 230.8 kB / 0.7597 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000879/0.7424, allocations: 0.6238 MB / 0.7603 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.7424, allocations: 4 kB / 0.7603 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.71e-07/0.7424, allocations: 0 / 0.7603 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.7425, allocations: 0 / 0.7603 GB, free: 9.176 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.001346/0.7438, allocations: 0.8057 MB / 0.7611 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.7439, allocations: 8.031 kB / 0.7611 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.7451, allocations: 183.2 kB / 0.7613 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.7457, allocations: 373.4 kB / 0.7617 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.7457, allocations: 28.59 kB / 0.7617 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.7458, allocations: 28 kB / 0.7617 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.7464, allocations: 373.1 kB / 0.7621 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.7465, allocations: 0 / 0.7621 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.7465, allocations: 19.98 kB / 0.7621 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.7465, allocations: 11.94 kB / 0.7621 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.7471, allocations: 262 kB / 0.7624 GB, free: 7.004 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.001905/0.749, allocations: 1.671 MB / 0.764 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.7494, allocations: 200.2 kB / 0.7642 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.7496, allocations: 118 kB / 0.7643 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/0.7508, allocations: 0.874 MB / 0.7651 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.7509, allocations: 38.56 kB / 0.7652 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.7509, allocations: 0 / 0.7652 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009301/0.7518, allocations: 360.4 kB / 0.7655 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.7519, allocations: 55.41 kB / 0.7656 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.7524, allocations: 425.9 kB / 0.766 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.7524, allocations: 33.7 kB / 0.766 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.7526, allocations: 208.2 kB / 0.7662 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.7526, allocations: 82.84 kB / 0.7663 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.7527, allocations: 49.7 kB / 0.7663 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7529, allocations: 350.7 kB / 0.7667 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.7531, allocations: 83.94 kB / 0.7668 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.7533, allocations: 124.5 kB / 0.7669 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.7537, allocations: 216.5 kB / 0.7671 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7538, allocations: 0 / 0.7671 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005336/0.7543, allocations: 285 kB / 0.7673 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7543, allocations: 8 kB / 0.7674 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.7543, allocations: 0 / 0.7674 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7544, allocations: 0 / 0.7674 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.7546, allocations: 51.97 kB / 0.7674 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.7546, allocations: 9.344 kB / 0.7674 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.7549, allocations: 43.61 kB / 0.7675 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.7549, allocations: 12 kB / 0.7675 GB, free: 1.352 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.0001788/0.7551, allocations: 157.8 kB / 0.7676 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.7552, allocations: 43.44 kB / 0.7677 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005815/0.7558, allocations: 292.1 kB / 0.7679 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.7558, allocations: 4.109 kB / 0.7679 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7558, allocations: 3.938 kB / 0.7679 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.7558, allocations: 7.938 kB / 0.768 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.7571, allocations: 0.8102 MB / 0.7687 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.7571, allocations: 4 kB / 0.7687 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.7573, allocations: 51.91 kB / 0.7688 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.7573, allocations: 3.938 kB / 0.7688 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.7574, allocations: 4 kB / 0.7688 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.7574, allocations: 4 kB / 0.7688 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7574, allocations: 0 / 0.7688 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/0.7582, allocations: 0.5076 MB / 0.7693 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.7583, allocations: 140.6 kB / 0.7694 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.7584, allocations: 15.98 kB / 0.7695 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.7587, allocations: 23.89 kB / 0.7695 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.7588, allocations: 15.97 kB / 0.7695 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.7588, allocations: 12 kB / 0.7695 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003171/0.7591, allocations: 303.1 kB / 0.7698 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7592, allocations: 4 kB / 0.7698 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004858/0.7596, allocations: 115.8 kB / 0.7699 GB, free: 14.71 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.0004285/0.7601, allocations: 189.5 kB / 0.7701 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.7606, allocations: 209.6 kB / 0.7703 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7606, allocations: 0 / 0.7703 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.7608, allocations: 110 kB / 0.7704 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.7619, allocations: 225.8 kB / 0.7706 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.7636, allocations: 1.066 MB / 0.7716 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.764, allocations: 0.8236 MB / 0.7725 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.7641, allocations: 43.44 kB / 0.7725 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.7642, allocations: 0 / 0.7725 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of Templates: time 0.01022/0.7744, allocations: 6.576 MB / 0.7789 GB, free: 5.547 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)