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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_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.001736/0.001736, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001727/0.001727, allocations: 189.2 kB / 16.25 MB, free: 6.59 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.115/1.115, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7683/0.7683, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 68.23 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1147, allocations: 80.93 MB / 0.584 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.3251/0.4398, allocations: 171.5 MB / 0.7515 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.4428, allocations: 2.286 MB / 0.7537 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003753/0.4432, allocations: 19.44 kB / 0.7537 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.4438, allocations: 189.1 kB / 0.7539 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.4455, allocations: 0.8779 MB / 0.7547 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.447, allocations: 0.7604 MB / 0.7555 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009396/0.448, allocations: 0.9669 MB / 0.7564 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.4484, allocations: 322.9 kB / 0.7567 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.449, allocations: 462.3 kB / 0.7572 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.4494, allocations: 338.5 kB / 0.7575 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.4494, allocations: 32 kB / 0.7575 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.4507, allocations: 1.029 MB / 0.7585 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.4508, allocations: 147.6 kB / 0.7587 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.451, allocations: 242.7 kB / 0.7589 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.4521, allocations: 0.9621 MB / 0.7598 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4521, allocations: 0 / 0.7598 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4521, allocations: 3.984 kB / 0.7598 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.4521, allocations: 4 kB / 0.7599 GB, free: 9.184 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.001053/0.4532, allocations: 0.8059 MB / 0.7606 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.4532, allocations: 8.031 kB / 0.7606 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.434e-05/0.4533, allocations: 66.55 kB / 0.7607 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.4544, allocations: 187.2 kB / 0.7609 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.4548, allocations: 373.4 kB / 0.7612 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.4549, allocations: 20.66 kB / 0.7613 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.4549, allocations: 32 kB / 0.7613 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.4555, allocations: 373.1 kB / 0.7617 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4555, allocations: 0 / 0.7617 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.4555, allocations: 12 kB / 0.7617 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.4555, allocations: 15.94 kB / 0.7617 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.456, allocations: 258 kB / 0.7619 GB, free: 6.945 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.001535/0.4575, allocations: 1.679 MB / 0.7636 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.4579, allocations: 200.7 kB / 0.7638 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.4581, allocations: 113.8 kB / 0.7639 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009217/0.459, allocations: 0.8702 MB / 0.7647 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.459, allocations: 47.86 kB / 0.7648 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.252e-06/0.4591, allocations: 0 / 0.7648 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0007598/0.4598, allocations: 360.8 kB / 0.7651 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.4599, allocations: 59.41 kB / 0.7652 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.4602, allocations: 417.9 kB / 0.7656 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.4603, allocations: 33.7 kB / 0.7656 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4604, allocations: 216.2 kB / 0.7658 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.4605, allocations: 82.86 kB / 0.7659 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.4605, allocations: 49.61 kB / 0.7659 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4607, allocations: 358.7 kB / 0.7663 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4608, allocations: 75.95 kB / 0.7663 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.461, allocations: 120.5 kB / 0.7665 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.4614, allocations: 214.1 kB / 0.7667 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4614, allocations: 0 / 0.7667 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004457/0.4618, allocations: 277 kB / 0.7669 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.4619, allocations: 4 kB / 0.7669 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4619, allocations: 4 kB / 0.7669 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4619, allocations: 4.031 kB / 0.7669 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.4621, allocations: 51.91 kB / 0.767 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4621, allocations: 7.938 kB / 0.767 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.4623, allocations: 39.23 kB / 0.767 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.4623, allocations: 12 kB / 0.767 GB, free: 1.301 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.0001429/0.4625, allocations: 169.8 kB / 0.7672 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.4626, allocations: 43.44 kB / 0.7672 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.4631, allocations: 289.4 kB / 0.7675 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4631, allocations: 0 / 0.7675 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.4631, allocations: 3.938 kB / 0.7675 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4631, allocations: 4 kB / 0.7675 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4641, allocations: 0.8075 MB / 0.7683 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4641, allocations: 4 kB / 0.7683 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.4644, allocations: 44.14 kB / 0.7684 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4644, allocations: 8 kB / 0.7684 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.4644, allocations: 8 kB / 0.7684 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4644, allocations: 9.891 kB / 0.7684 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4644, allocations: 0 / 0.7684 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.4651, allocations: 0.5075 MB / 0.7689 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.4652, allocations: 148.5 kB / 0.769 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.4653, allocations: 8 kB / 0.769 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.4655, allocations: 27.89 kB / 0.7691 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.4656, allocations: 15.97 kB / 0.7691 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.4656, allocations: 17.19 kB / 0.7691 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002656/0.4659, allocations: 299.1 kB / 0.7694 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4659, allocations: 0 / 0.7694 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003631/0.4663, allocations: 115.8 kB / 0.7695 GB, free: 14.66 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.001119/0.4674, allocations: 1.124 MB / 0.7706 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.4678, allocations: 219.7 kB / 0.7708 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4678, allocations: 0 / 0.7708 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.468, allocations: 115.8 kB / 0.7709 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/0.469, allocations: 231.5 kB / 0.7711 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.4732, allocations: 3.851 MB / 0.7749 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4735, allocations: 0.8272 MB / 0.7757 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002638/0.4738, allocations: 83.34 kB / 0.7758 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.4739, allocations: 139.3 kB / 0.7759 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.4739, allocations: 0 / 0.7759 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.497, allocations: 11.82 MB / 0.7874 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.4971, allocations: 223.5 kB / 0.7877 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.219, allocations: 64 / 0.7877 GB, free: 12.12 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)