Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00126/0.00126, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8179/0.8179, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 64.88 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1172, allocations: 80.92 MB / 0.5838 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3222/0.4395, allocations: 165.3 MB / 0.7452 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006225/0.4457, allocations: 6.562 MB / 0.7516 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.4461, allocations: 11.81 kB / 0.7516 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003994/0.4465, allocations: 125.1 kB / 0.7517 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.448, allocations: 0.7917 MB / 0.7525 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.4487, allocations: 300.4 kB / 0.7528 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007878/0.4495, allocations: 1.008 MB / 0.7538 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.4498, allocations: 237.8 kB / 0.754 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008432/0.4507, allocations: 0.503 MB / 0.7545 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.451, allocations: 289 kB / 0.7548 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.4511, allocations: 15.56 kB / 0.7548 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.4516, allocations: 392.6 kB / 0.7552 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.402e-05/0.4517, allocations: 105.5 kB / 0.7553 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.4519, allocations: 155.2 kB / 0.7554 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.4524, allocations: 480.1 kB / 0.7559 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.4524, allocations: 0 / 0.7559 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4524, allocations: 4 kB / 0.7559 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.4524, allocations: 0 / 0.7559 GB, free: 13.17 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006922/0.4531, allocations: 0.6194 MB / 0.7565 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.4531, allocations: 8.031 kB / 0.7565 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.4532, allocations: 62.55 kB / 0.7566 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.4535, allocations: 59.44 kB / 0.7566 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.4538, allocations: 309.2 kB / 0.7569 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.4538, allocations: 20.56 kB / 0.7569 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.4539, allocations: 28 kB / 0.7569 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.4543, allocations: 315.7 kB / 0.7573 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.4543, allocations: 0 / 0.7573 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.4544, allocations: 12 kB / 0.7573 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4544, allocations: 4 kB / 0.7573 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.4547, allocations: 213.4 kB / 0.7575 GB, free: 11.42 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.001248/0.456, allocations: 1.538 MB / 0.759 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.4562, allocations: 114.5 kB / 0.7591 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.4564, allocations: 88.8 kB / 0.7592 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/0.4569, allocations: 307.2 kB / 0.7595 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.4569, allocations: 34.56 kB / 0.7595 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.4569, allocations: 0 / 0.7595 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006364/0.4576, allocations: 273.2 kB / 0.7598 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.4576, allocations: 51.41 kB / 0.7598 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.4579, allocations: 316.5 kB / 0.7601 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.4579, allocations: 29.64 kB / 0.7601 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.458, allocations: 180.1 kB / 0.7603 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.4581, allocations: 51.39 kB / 0.7604 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.4581, allocations: 33.62 kB / 0.7604 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.4582, allocations: 346.7 kB / 0.7607 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.4584, allocations: 57.2 kB / 0.7608 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.4585, allocations: 111.4 kB / 0.7609 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.4588, allocations: 178.2 kB / 0.761 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4588, allocations: 0 / 0.761 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003571/0.4592, allocations: 215 kB / 0.7613 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.4592, allocations: 8 kB / 0.7613 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4592, allocations: 0 / 0.7613 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4592, allocations: 7.984 kB / 0.7613 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.4594, allocations: 31.92 kB / 0.7613 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4594, allocations: 4.625 kB / 0.7613 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.4596, allocations: 41.02 kB / 0.7613 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.4596, allocations: 8 kB / 0.7613 GB, free: 7.148 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001211/0.4597, allocations: 161.6 kB / 0.7615 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.4598, allocations: 31.62 kB / 0.7615 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.4602, allocations: 208.1 kB / 0.7617 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.4602, allocations: 4 kB / 0.7617 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.4602, allocations: 0 / 0.7617 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4602, allocations: 4.859 kB / 0.7617 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008523/0.4611, allocations: 0.6834 MB / 0.7624 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4611, allocations: 4 kB / 0.7624 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.4612, allocations: 28.73 kB / 0.7624 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4612, allocations: 4 kB / 0.7624 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4612, allocations: 7.938 kB / 0.7624 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4612, allocations: 0 / 0.7624 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.4612, allocations: 12.16 kB / 0.7625 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.4616, allocations: 337 kB / 0.7628 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.4617, allocations: 116.8 kB / 0.7629 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.4617, allocations: 7.938 kB / 0.7629 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4619, allocations: 11.98 kB / 0.7629 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.462, allocations: 23.92 kB / 0.7629 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.462, allocations: 4 kB / 0.7629 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001815/0.4622, allocations: 227 kB / 0.7632 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4622, allocations: 0 / 0.7632 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003111/0.4625, allocations: 67.84 kB / 0.7632 GB, free: 5.094 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (13): * Single equations (assignments): 13 * 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.0007843/0.4633, allocations: 0.9299 MB / 0.7641 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.4636, allocations: 159.9 kB / 0.7643 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4636, allocations: 0 / 0.7643 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.4638, allocations: 83.83 kB / 0.7644 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.4645, allocations: 148.4 kB / 0.7645 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.4674, allocations: 2.9 MB / 0.7673 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.4677, allocations: 0.7758 MB / 0.7681 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000183/0.4679, allocations: 66.92 kB / 0.7682 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.468, allocations: 91.41 kB / 0.7682 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.468, allocations: 0 / 0.7682 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.465/3.933, allocations: 7.663 MB / 0.7757 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/3.933, allocations: 226.4 kB / 0.7759 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/5.805, allocations: 0 / 0.7759 GB, free: 8.043 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)