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.0007924/0.0007925, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004615/0.004615, allocations: 170 kB / 16.26 MB, free: 6.613 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.292/1.292, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7105/0.7105, allocations: 132.3 MB / 423.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 9.312 kB / 0.5041 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.346, allocations: 81.57 MB / 0.5837 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1619/0.5079, allocations: 163.1 MB / 0.7431 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006923/0.5149, allocations: 6.456 MB / 0.7494 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.5153, allocations: 7.938 kB / 0.7494 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.5157, allocations: 143.1 kB / 0.7495 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.5174, allocations: 0.7821 MB / 0.7503 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.5182, allocations: 298.1 kB / 0.7506 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.5192, allocations: 1.01 MB / 0.7516 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.5196, allocations: 229.9 kB / 0.7518 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009703/0.5206, allocations: 0.5058 MB / 0.7523 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.521, allocations: 278.9 kB / 0.7525 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.5211, allocations: 12 kB / 0.7525 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005939/0.5217, allocations: 387 kB / 0.7529 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.5218, allocations: 103.7 kB / 0.753 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.522, allocations: 176.9 kB / 0.7532 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.5226, allocations: 466.4 kB / 0.7536 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5226, allocations: 0 / 0.7536 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5226, allocations: 3.938 kB / 0.7536 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5226, allocations: 4 kB / 0.7536 GB, free: 1.684 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.0007043/0.5233, allocations: 0.565 MB / 0.7542 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5233, allocations: 12.03 kB / 0.7542 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.296e-05/0.5234, allocations: 62.53 kB / 0.7543 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.5237, allocations: 63.44 kB / 0.7543 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.524, allocations: 309.2 kB / 0.7546 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.5241, allocations: 16.56 kB / 0.7546 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.5241, allocations: 28 kB / 0.7547 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.5246, allocations: 315.7 kB / 0.755 GB, free: 216 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5246, allocations: 3.938 kB / 0.755 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.5247, allocations: 15.94 kB / 0.755 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.5247, allocations: 8 kB / 0.755 GB, free: 188 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.5251, allocations: 213.6 kB / 0.7552 GB, free: 15.97 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.001383/0.5265, allocations: 1.546 MB / 0.7567 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.5267, allocations: 122.5 kB / 0.7568 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.5269, allocations: 96.8 kB / 0.7569 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.5275, allocations: 315.2 kB / 0.7572 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5275, allocations: 38.48 kB / 0.7572 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.5275, allocations: 0 / 0.7572 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007164/0.5283, allocations: 292.8 kB / 0.7575 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.5283, allocations: 55.34 kB / 0.7576 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.5286, allocations: 316.5 kB / 0.7579 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.5286, allocations: 25.7 kB / 0.7579 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5287, allocations: 180.1 kB / 0.7581 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.412e-05/0.5288, allocations: 43.45 kB / 0.7581 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.5288, allocations: 21.7 kB / 0.7581 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5289, allocations: 346.8 kB / 0.7585 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5291, allocations: 63.89 kB / 0.7585 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.5293, allocations: 128.9 kB / 0.7586 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.5296, allocations: 181 kB / 0.7588 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5296, allocations: 0 / 0.7588 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004078/0.53, allocations: 229.1 kB / 0.759 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.5301, allocations: 8 kB / 0.759 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5301, allocations: 0 / 0.759 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5301, allocations: 4.156 kB / 0.759 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.5303, allocations: 39.92 kB / 0.7591 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5303, allocations: 0 / 0.7591 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.5305, allocations: 47.66 kB / 0.7591 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.5305, allocations: 4 kB / 0.7591 GB, free: 11.61 MB / 0.5919 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.0001344/0.5306, allocations: 155.3 kB / 0.7593 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.5307, allocations: 23.72 kB / 0.7593 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.5311, allocations: 216.3 kB / 0.7595 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5311, allocations: 4 kB / 0.7595 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5311, allocations: 0 / 0.7595 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5311, allocations: 4 kB / 0.7595 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009556/0.5321, allocations: 0.699 MB / 0.7602 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5321, allocations: 0 / 0.7602 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.5323, allocations: 35.86 kB / 0.7602 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5323, allocations: 4 kB / 0.7602 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5323, allocations: 8 kB / 0.7602 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5323, allocations: 4.219 kB / 0.7603 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.5323, allocations: 7.984 kB / 0.7603 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.5327, allocations: 345 kB / 0.7606 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-05/0.5328, allocations: 112.8 kB / 0.7607 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.5329, allocations: 11.98 kB / 0.7607 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.533, allocations: 23.92 kB / 0.7607 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.5331, allocations: 19.97 kB / 0.7608 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.5331, allocations: 7.984 kB / 0.7608 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001967/0.5333, allocations: 223.1 kB / 0.761 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5333, allocations: 0 / 0.761 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003268/0.5337, allocations: 71.89 kB / 0.761 GB, free: 9.516 MB / 0.5919 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.0008858/0.5345, allocations: 0.9421 MB / 0.762 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.5349, allocations: 168 kB / 0.7621 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5349, allocations: 0 / 0.7621 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.5351, allocations: 87.88 kB / 0.7622 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008252/0.536, allocations: 136.9 kB / 0.7623 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.5392, allocations: 2.938 MB / 0.7652 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.5395, allocations: 0.7797 MB / 0.766 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001947/0.5397, allocations: 71.06 kB / 0.766 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.5398, allocations: 91.41 kB / 0.7661 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5398, allocations: 0 / 0.7661 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.525/2.065, allocations: 7.527 MB / 0.7735 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/2.065, allocations: 229.3 kB / 0.7737 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/3.948, allocations: 0 / 0.7737 GB, free: 12.56 MB / 0.6075 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)