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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.00116, 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.00114/0.00114, allocations: 196.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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6845/0.6845, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.81 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3046, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1563/0.4609, allocations: 173.8 MB / 0.7499 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002959/0.4639, allocations: 2.297 MB / 0.7522 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.4641, allocations: 15.88 kB / 0.7522 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.4646, allocations: 226.4 kB / 0.7524 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.4662, allocations: 0.9333 MB / 0.7533 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.4676, allocations: 0.8205 MB / 0.7541 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008287/0.4684, allocations: 0.97 MB / 0.7551 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.4688, allocations: 330.9 kB / 0.7554 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004936/0.4693, allocations: 450.3 kB / 0.7558 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.4696, allocations: 318.6 kB / 0.7561 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.4697, allocations: 32 kB / 0.7561 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.471, allocations: 0.9976 MB / 0.7571 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.4711, allocations: 147.5 kB / 0.7573 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.4713, allocations: 230.9 kB / 0.7575 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009446/0.4723, allocations: 0.9038 MB / 0.7584 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4723, allocations: 0 / 0.7584 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4723, allocations: 0 / 0.7584 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4723, allocations: 0 / 0.7584 GB, free: 10.45 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.001028/0.4733, allocations: 0.8099 MB / 0.7592 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.4734, allocations: 8.031 kB / 0.7592 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.4734, allocations: 66.53 kB / 0.7592 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.4745, allocations: 175.2 kB / 0.7594 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.475, allocations: 373.4 kB / 0.7597 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.475, allocations: 28.66 kB / 0.7598 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.4751, allocations: 28 kB / 0.7598 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.4756, allocations: 373 kB / 0.7602 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4756, allocations: 3.938 kB / 0.7602 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.4757, allocations: 20 kB / 0.7602 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.4757, allocations: 15.98 kB / 0.7602 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.4762, allocations: 258 kB / 0.7604 GB, free: 8.199 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.001505/0.4777, allocations: 1.679 MB / 0.7621 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.478, allocations: 202.5 kB / 0.7623 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.4782, allocations: 120.8 kB / 0.7624 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009229/0.4792, allocations: 0.8699 MB / 0.7632 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.4792, allocations: 30.56 kB / 0.7633 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/0.4792, allocations: 0 / 0.7633 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0007895/0.48, allocations: 360.9 kB / 0.7636 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.48, allocations: 55.41 kB / 0.7637 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.4804, allocations: 425.9 kB / 0.7641 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.4804, allocations: 33.7 kB / 0.7641 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.4806, allocations: 212.2 kB / 0.7643 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.4806, allocations: 78.84 kB / 0.7644 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.4807, allocations: 53.61 kB / 0.7644 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4808, allocations: 358.8 kB / 0.7648 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.481, allocations: 75.95 kB / 0.7648 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.4812, allocations: 121.5 kB / 0.765 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.4816, allocations: 216.8 kB / 0.7652 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4816, allocations: 0 / 0.7652 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000469/0.4821, allocations: 280.9 kB / 0.7654 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.4821, allocations: 4 kB / 0.7654 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4821, allocations: 3.984 kB / 0.7654 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.4821, allocations: 11.88 kB / 0.7655 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.4823, allocations: 56.11 kB / 0.7655 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.4824, allocations: 7.875 kB / 0.7655 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.4826, allocations: 35.67 kB / 0.7655 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.4826, allocations: 8 kB / 0.7656 GB, free: 2.535 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.0001365/0.4827, allocations: 159.4 kB / 0.7657 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.4828, allocations: 43.44 kB / 0.7658 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005252/0.4833, allocations: 288.4 kB / 0.766 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4833, allocations: 7.938 kB / 0.766 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4834, allocations: 0 / 0.766 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4834, allocations: 3.984 kB / 0.766 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.4844, allocations: 0.8074 MB / 0.7668 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4844, allocations: 0 / 0.7668 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.4847, allocations: 47.92 kB / 0.7669 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4847, allocations: 4 kB / 0.7669 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.4847, allocations: 8 kB / 0.7669 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4847, allocations: 3.984 kB / 0.7669 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4847, allocations: 4 kB / 0.7669 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/0.4854, allocations: 0.5038 MB / 0.7674 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.4855, allocations: 148.5 kB / 0.7675 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.4856, allocations: 8 kB / 0.7675 GB, free: 380 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.4858, allocations: 15.98 kB / 0.7675 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.4859, allocations: 23.91 kB / 0.7676 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4859, allocations: 8 kB / 0.7676 GB, free: 332 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002692/0.4862, allocations: 303.1 kB / 0.7679 GB, free: 28 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4862, allocations: 0 / 0.7679 GB, free: 28 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003819/0.4866, allocations: 116 kB / 0.768 GB, free: 15.91 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.00115/0.4877, allocations: 1.133 MB / 0.7691 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.4882, allocations: 228.5 kB / 0.7693 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4882, allocations: 0 / 0.7693 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.4884, allocations: 112.2 kB / 0.7694 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4894, allocations: 220.9 kB / 0.7696 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.4935, allocations: 3.73 MB / 0.7733 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4938, allocations: 0.8194 MB / 0.7741 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002537/0.4941, allocations: 87.34 kB / 0.7741 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.4942, allocations: 139.4 kB / 0.7743 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.4942, allocations: 4 kB / 0.7743 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.5221, allocations: 11.98 MB / 0.786 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/7.329, allocations: 14.45 kB / 0.786 GB, free: 13.54 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)