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.001139/0.001139, allocations: 108 kB / 15.61 MB, free: 148 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.001155/0.001155, allocations: 193.6 kB / 16.53 MB, free: 6.656 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.204/1.204, 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.7024/0.7024, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.64 kB / 0.5019 GB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1353, allocations: 80.19 MB / 0.5802 GB, free: 8.746 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3751/0.5104, allocations: 167.5 MB / 0.7438 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00642/0.5169, allocations: 6.546 MB / 0.7502 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.5172, allocations: 15.41 kB / 0.7502 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.5177, allocations: 167.2 kB / 0.7504 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.5194, allocations: 0.8429 MB / 0.7512 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.5201, allocations: 328.9 kB / 0.7515 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.5207, allocations: 0.7165 MB / 0.7522 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.521, allocations: 273.3 kB / 0.7525 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007878/0.5218, allocations: 0.5464 MB / 0.753 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.5221, allocations: 271.7 kB / 0.7532 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.5221, allocations: 22.34 kB / 0.7533 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.5226, allocations: 334.7 kB / 0.7536 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.5227, allocations: 109.5 kB / 0.7537 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.5228, allocations: 171.4 kB / 0.7539 GB, free: 480 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.5233, allocations: 462 kB / 0.7543 GB, free: 184 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5233, allocations: 0 / 0.7543 GB, free: 184 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.664e-06/0.5233, allocations: 3.938 kB / 0.7543 GB, free: 180 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.5233, allocations: 0 / 0.7543 GB, free: 180 kB / 0.5606 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.0007083/0.5241, allocations: 0.6121 MB / 0.7549 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5241, allocations: 10.72 kB / 0.7549 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.5242, allocations: 62.03 kB / 0.755 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.5244, allocations: 66.88 kB / 0.755 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.5248, allocations: 304.4 kB / 0.7553 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.5248, allocations: 18.81 kB / 0.7553 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.5248, allocations: 26.56 kB / 0.7554 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.5253, allocations: 321.3 kB / 0.7557 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5253, allocations: 0 / 0.7557 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.5253, allocations: 10.81 kB / 0.7557 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.5253, allocations: 8.125 kB / 0.7557 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.5257, allocations: 209.9 kB / 0.7559 GB, free: 14.84 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.001255/0.527, allocations: 1.534 MB / 0.7574 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.5272, allocations: 126.5 kB / 0.7575 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.5274, allocations: 96.75 kB / 0.7576 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/0.5279, allocations: 311.2 kB / 0.7579 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.528, allocations: 30.56 kB / 0.7579 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.528, allocations: 4 kB / 0.7579 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006626/0.5286, allocations: 268.2 kB / 0.7582 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.5287, allocations: 55.41 kB / 0.7582 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.5289, allocations: 312.5 kB / 0.7585 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.529, allocations: 29.7 kB / 0.7586 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.5291, allocations: 188.1 kB / 0.7587 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.5291, allocations: 47.3 kB / 0.7588 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.5292, allocations: 37.7 kB / 0.7588 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.5293, allocations: 338.8 kB / 0.7591 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5294, allocations: 59.95 kB / 0.7592 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.5296, allocations: 113.1 kB / 0.7593 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.5299, allocations: 169.9 kB / 0.7595 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5299, allocations: 4 kB / 0.7595 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003742/0.5303, allocations: 225 kB / 0.7597 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.5303, allocations: 4 kB / 0.7597 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5303, allocations: 4 kB / 0.7597 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5303, allocations: 0 / 0.7597 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.5305, allocations: 35.92 kB / 0.7597 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5305, allocations: 4.156 kB / 0.7597 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.5307, allocations: 31.77 kB / 0.7598 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.5307, allocations: 4 kB / 0.7598 GB, free: 10.56 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.0001206/0.5308, allocations: 155.2 kB / 0.7599 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.5309, allocations: 27.62 kB / 0.7599 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.5313, allocations: 208.6 kB / 0.7601 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5313, allocations: 4 kB / 0.7602 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5313, allocations: 4 kB / 0.7602 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5313, allocations: 0 / 0.7602 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000884/0.5322, allocations: 0.6873 MB / 0.7608 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5322, allocations: 0 / 0.7608 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.5323, allocations: 31.97 kB / 0.7609 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5323, allocations: 0 / 0.7609 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5324, allocations: 11.94 kB / 0.7609 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5324, allocations: 6.188 kB / 0.7609 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5324, allocations: 3.938 kB / 0.7609 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.5328, allocations: 333.3 kB / 0.7612 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.5329, allocations: 124.7 kB / 0.7613 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.5329, allocations: 3.938 kB / 0.7613 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.5331, allocations: 15.98 kB / 0.7613 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.5331, allocations: 11.92 kB / 0.7613 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.5331, allocations: 15.94 kB / 0.7614 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001928/0.5333, allocations: 227 kB / 0.7616 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5334, allocations: 0 / 0.7616 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003541/0.5337, allocations: 75.83 kB / 0.7616 GB, free: 8.496 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.000853/0.5346, allocations: 0.9168 MB / 0.7625 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003669/0.535, allocations: 155.8 kB / 0.7627 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.535, allocations: 320 / 0.7627 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.5351, allocations: 95.81 kB / 0.7628 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/0.5359, allocations: 151 kB / 0.7629 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.5389, allocations: 2.807 MB / 0.7657 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.5392, allocations: 0.7834 MB / 0.7664 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.5394, allocations: 59.62 kB / 0.7665 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.5395, allocations: 91.41 kB / 0.7666 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5396, allocations: 0 / 0.7666 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2981/0.8377, allocations: 8.025 MB / 0.7744 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.563, allocations: 13.75 kB / 0.7744 GB, free: 11.43 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/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)