Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_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.0007751/0.0007752, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008507/0.0008508, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7697/0.7697, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000584/0.0005842, allocations: 17.52 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4407, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1875/0.6283, allocations: 152.2 MB / 0.7318 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007899/0.6363, allocations: 6.071 MB / 0.7377 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005517/0.6369, allocations: 19.88 kB / 0.7377 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.6376, allocations: 119.1 kB / 0.7378 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.6395, allocations: 0.5948 MB / 0.7384 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.6405, allocations: 261.6 kB / 0.7387 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.6417, allocations: 0.8654 MB / 0.7395 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000492/0.6422, allocations: 205.1 kB / 0.7397 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.6434, allocations: 470 kB / 0.7402 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.6439, allocations: 263 kB / 0.7404 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.644, allocations: 12 kB / 0.7404 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005972/0.6446, allocations: 195.6 kB / 0.7406 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.6447, allocations: 99.69 kB / 0.7407 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.6449, allocations: 85.52 kB / 0.7408 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.6453, allocations: 311.2 kB / 0.7411 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6453, allocations: 0 / 0.7411 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6454, allocations: 0 / 0.7411 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.6454, allocations: 0 / 0.7411 GB, free: 14.42 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.000867/0.6462, allocations: 0.5705 MB / 0.7416 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.6463, allocations: 11.97 kB / 0.7416 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.596e-05/0.6464, allocations: 70.47 kB / 0.7417 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003228/0.6467, allocations: 59.5 kB / 0.7418 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.6472, allocations: 293.5 kB / 0.742 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.6472, allocations: 24.56 kB / 0.7421 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.6472, allocations: 24 kB / 0.7421 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.6478, allocations: 327.6 kB / 0.7424 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6478, allocations: 4 kB / 0.7424 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.6479, allocations: 8 kB / 0.7424 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.6479, allocations: 12 kB / 0.7424 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.6483, allocations: 209.5 kB / 0.7426 GB, free: 12.71 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.001572/0.6499, allocations: 1.542 MB / 0.7441 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.6501, allocations: 118.5 kB / 0.7442 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.6503, allocations: 92.8 kB / 0.7443 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.6509, allocations: 319.2 kB / 0.7446 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.651, allocations: 42.55 kB / 0.7447 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.651, allocations: 0 / 0.7447 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007516/0.6517, allocations: 284.1 kB / 0.745 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.6518, allocations: 59.41 kB / 0.745 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.6521, allocations: 308.5 kB / 0.7453 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.6522, allocations: 33.7 kB / 0.7453 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.6523, allocations: 184.1 kB / 0.7455 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.6524, allocations: 39.45 kB / 0.7455 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.6524, allocations: 4 kB / 0.7456 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6525, allocations: 338.8 kB / 0.7459 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.6527, allocations: 67.95 kB / 0.7459 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.6529, allocations: 117 kB / 0.7461 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.6531, allocations: 79.84 kB / 0.7461 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.6531, allocations: 3.953 kB / 0.7461 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004269/0.6535, allocations: 229.2 kB / 0.7464 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6535, allocations: 9.875 kB / 0.7464 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6536, allocations: 0 / 0.7464 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.6536, allocations: 4 kB / 0.7464 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.6538, allocations: 32.14 kB / 0.7464 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6538, allocations: 4 kB / 0.7464 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.654, allocations: 51.59 kB / 0.7464 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.654, allocations: 4 kB / 0.7465 GB, free: 8.516 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.6542, allocations: 147.4 kB / 0.7466 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.6543, allocations: 27.67 kB / 0.7466 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.6548, allocations: 224.3 kB / 0.7468 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6548, allocations: 3.938 kB / 0.7468 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6548, allocations: 7.938 kB / 0.7468 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6548, allocations: 0 / 0.7468 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.6558, allocations: 0.6951 MB / 0.7475 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.6559, allocations: 4 kB / 0.7475 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.656, allocations: 31.92 kB / 0.7476 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.656, allocations: 0 / 0.7476 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.656, allocations: 8 kB / 0.7476 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.656, allocations: 4 kB / 0.7476 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.656, allocations: 0 / 0.7476 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.6565, allocations: 353.2 kB / 0.7479 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.6566, allocations: 116.8 kB / 0.748 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.6567, allocations: 7.984 kB / 0.748 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.6568, allocations: 23.98 kB / 0.748 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.6569, allocations: 15.97 kB / 0.7481 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.6569, allocations: 8 kB / 0.7481 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002113/0.6571, allocations: 215.1 kB / 0.7483 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6572, allocations: 0 / 0.7483 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003968/0.6576, allocations: 79.83 kB / 0.7484 GB, free: 6.422 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/0.6586, allocations: 0.9309 MB / 0.7493 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.659, allocations: 168 kB / 0.7494 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.659, allocations: 4 kB / 0.7494 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.6592, allocations: 79.89 kB / 0.7495 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.66, allocations: 156.3 kB / 0.7496 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.6629, allocations: 1.66 MB / 0.7513 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.6633, allocations: 0.7836 MB / 0.752 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.6635, allocations: 58.92 kB / 0.7521 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.6637, allocations: 95.41 kB / 0.7522 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/0.6637, allocations: 0 / 0.7522 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.6872, allocations: 7.505 MB / 0.7595 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.6874, allocations: 208.9 kB / 0.7597 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.538, allocations: 0 / 0.7597 GB, free: 10.84 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: