Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.Orifice") translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001176/0.001176, allocations: 108 kB / 15.61 MB, free: 152 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.001188/0.001188, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.185/1.185, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6763/0.6763, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 59.59 kB / 0.5018 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3488, allocations: 80.21 MB / 0.5801 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1668/0.5157, allocations: 173.8 MB / 0.7498 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.5191, allocations: 2.301 MB / 0.7521 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.5195, allocations: 15.94 kB / 0.7521 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.5201, allocations: 238.4 kB / 0.7523 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.522, allocations: 0.9293 MB / 0.7532 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.5239, allocations: 0.8156 MB / 0.754 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009821/0.5249, allocations: 0.9699 MB / 0.755 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.5253, allocations: 327 kB / 0.7553 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005659/0.5259, allocations: 462.2 kB / 0.7557 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003094/0.5262, allocations: 306.7 kB / 0.756 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.5262, allocations: 32 kB / 0.756 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.5278, allocations: 0.9859 MB / 0.757 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.528, allocations: 147.5 kB / 0.7571 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.5282, allocations: 238.8 kB / 0.7574 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.5293, allocations: 0.8999 MB / 0.7583 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5293, allocations: 4 kB / 0.7583 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5293, allocations: 0 / 0.7583 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.5293, allocations: 0 / 0.7583 GB, free: 10.46 MB / 0.5919 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.00107/0.5304, allocations: 0.8098 MB / 0.759 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.5304, allocations: 12.03 kB / 0.7591 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.5315, allocations: 187.2 kB / 0.7592 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.532, allocations: 377.3 kB / 0.7596 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.532, allocations: 20.66 kB / 0.7596 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.5321, allocations: 28 kB / 0.7596 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/0.5326, allocations: 377.1 kB / 0.76 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.5327, allocations: 0 / 0.76 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.5327, allocations: 19.88 kB / 0.76 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.5327, allocations: 8 kB / 0.76 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.5332, allocations: 258 kB / 0.7603 GB, free: 8.277 MB / 0.5919 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.001646/0.5349, allocations: 1.675 MB / 0.7619 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.5352, allocations: 214.2 kB / 0.7621 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.5354, allocations: 112.8 kB / 0.7622 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009349/0.5364, allocations: 0.8777 MB / 0.7631 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.5364, allocations: 38.56 kB / 0.7631 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.243e-06/0.5364, allocations: 0 / 0.7631 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.000778/0.5372, allocations: 348.9 kB / 0.7634 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.5372, allocations: 51.41 kB / 0.7635 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.5376, allocations: 426 kB / 0.7639 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.5377, allocations: 29.7 kB / 0.7639 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.5378, allocations: 220.2 kB / 0.7641 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.5379, allocations: 82.83 kB / 0.7642 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.5379, allocations: 53.61 kB / 0.7643 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5381, allocations: 354.7 kB / 0.7646 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.5382, allocations: 79.94 kB / 0.7647 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.5384, allocations: 125.5 kB / 0.7648 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.5388, allocations: 203.3 kB / 0.765 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5388, allocations: 0 / 0.765 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004696/0.5393, allocations: 286.5 kB / 0.7653 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.5393, allocations: 7.938 kB / 0.7653 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5393, allocations: 0 / 0.7653 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5393, allocations: 4 kB / 0.7653 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.5396, allocations: 55.86 kB / 0.7653 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5396, allocations: 3.984 kB / 0.7653 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.5398, allocations: 31.8 kB / 0.7654 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.5398, allocations: 11.94 kB / 0.7654 GB, free: 2.625 MB / 0.5919 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.0001408/0.5399, allocations: 165.8 kB / 0.7655 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.54, allocations: 47.44 kB / 0.7656 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.5405, allocations: 288.7 kB / 0.7659 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5405, allocations: 7.938 kB / 0.7659 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5406, allocations: 0 / 0.7659 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5406, allocations: 0 / 0.7659 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.5416, allocations: 0.8035 MB / 0.7667 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5416, allocations: 0 / 0.7667 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.5419, allocations: 56.09 kB / 0.7667 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5419, allocations: 0 / 0.7667 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.5419, allocations: 8 kB / 0.7667 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5419, allocations: 4 kB / 0.7667 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5419, allocations: 7.938 kB / 0.7667 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.5426, allocations: 0.4998 MB / 0.7672 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.5427, allocations: 144.6 kB / 0.7674 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.5428, allocations: 4 kB / 0.7674 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.5431, allocations: 19.98 kB / 0.7674 GB, free: 452 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.5431, allocations: 23.86 kB / 0.7674 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.5431, allocations: 8 kB / 0.7674 GB, free: 420 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002726/0.5434, allocations: 303.1 kB / 0.7677 GB, free: 116 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5434, allocations: 0 / 0.7677 GB, free: 116 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004186/0.5438, allocations: 119.9 kB / 0.7678 GB, free: 15.99 MB / 0.6075 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.0003658/0.5442, allocations: 190.9 kB / 0.768 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.5447, allocations: 216.6 kB / 0.7682 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5447, allocations: 4.062 kB / 0.7682 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.5449, allocations: 111.8 kB / 0.7683 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.5459, allocations: 225.1 kB / 0.7685 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.5473, allocations: 0.907 MB / 0.7694 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.5476, allocations: 0.8233 MB / 0.7702 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.5479, allocations: 79.34 kB / 0.7703 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.548, allocations: 35.44 kB / 0.7703 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.548, allocations: 3.938 kB / 0.7703 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of Templates: time 0.01276/0.5608, allocations: 8.046 MB / 0.7782 GB, free: 5.465 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)