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.00079/0.0007902, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009455/0.0009455, allocations: 168.7 kB / 15.95 MB, free: 204 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.306/1.306, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9129/0.9129, allocations: 135.3 MB / 426.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 12 kB / 0.5071 GB, free: 5.062 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1569, allocations: 82.3 MB / 0.5875 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4822/0.6392, allocations: 152.2 MB / 0.7361 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008581/0.6478, allocations: 6.077 MB / 0.742 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005245/0.6484, allocations: 14.97 kB / 0.742 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.6489, allocations: 116 kB / 0.7421 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.6507, allocations: 0.5927 MB / 0.7427 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.6515, allocations: 269.7 kB / 0.743 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009351/0.6525, allocations: 0.8618 MB / 0.7438 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003707/0.6529, allocations: 213 kB / 0.744 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.6539, allocations: 455.3 kB / 0.7444 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.6543, allocations: 267.1 kB / 0.7447 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.6543, allocations: 13.78 kB / 0.7447 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.6548, allocations: 205.4 kB / 0.7449 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.6549, allocations: 97.36 kB / 0.745 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.655, allocations: 79.95 kB / 0.7451 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.6554, allocations: 315.6 kB / 0.7454 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6554, allocations: 0 / 0.7454 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6554, allocations: 0 / 0.7454 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.6554, allocations: 0 / 0.7454 GB, free: 9.391 MB / 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.0008046/0.6562, allocations: 0.5703 MB / 0.7459 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6563, allocations: 10.28 kB / 0.7459 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.896e-05/0.6563, allocations: 58.48 kB / 0.746 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.6566, allocations: 71.41 kB / 0.7461 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.657, allocations: 297.9 kB / 0.7464 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.657, allocations: 18.19 kB / 0.7464 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.6571, allocations: 26.88 kB / 0.7464 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.6576, allocations: 319.2 kB / 0.7467 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6576, allocations: 0 / 0.7467 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.6576, allocations: 22.59 kB / 0.7467 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.6577, allocations: 8 kB / 0.7467 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.6581, allocations: 211.5 kB / 0.7469 GB, free: 8.137 MB / 0.5606 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.001484/0.6596, allocations: 1.531 MB / 0.7484 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.6598, allocations: 128.4 kB / 0.7486 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.66, allocations: 91.16 kB / 0.7486 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005859/0.6606, allocations: 318.5 kB / 0.7489 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.6606, allocations: 34.56 kB / 0.749 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.6606, allocations: 0 / 0.749 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006995/0.6613, allocations: 295.6 kB / 0.7493 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.6614, allocations: 55.34 kB / 0.7493 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.6617, allocations: 308.3 kB / 0.7496 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.6617, allocations: 25.7 kB / 0.7496 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.6619, allocations: 190.5 kB / 0.7498 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.6619, allocations: 38.8 kB / 0.7498 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.6619, allocations: 3 kB / 0.7499 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6621, allocations: 337.5 kB / 0.7502 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.6622, allocations: 65.27 kB / 0.7502 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.6624, allocations: 119.3 kB / 0.7503 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.6626, allocations: 84.05 kB / 0.7504 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6626, allocations: 0 / 0.7504 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003818/0.663, allocations: 228.6 kB / 0.7506 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.663, allocations: 6.812 kB / 0.7507 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.663, allocations: 0 / 0.7507 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.663, allocations: 2.938 kB / 0.7507 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.6632, allocations: 43.75 kB / 0.7507 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6632, allocations: 2.906 kB / 0.7507 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.6634, allocations: 40.14 kB / 0.7507 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.6635, allocations: 8.719 kB / 0.7507 GB, free: 4.918 MB / 0.5606 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.0001494/0.6636, allocations: 148 kB / 0.7509 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.6637, allocations: 28.8 kB / 0.7509 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.6641, allocations: 217.1 kB / 0.7511 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.6641, allocations: 0 / 0.7511 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.6642, allocations: 3.938 kB / 0.7511 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.6642, allocations: 0 / 0.7511 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/0.6652, allocations: 0.7011 MB / 0.7518 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6652, allocations: 7.281 kB / 0.7518 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.6653, allocations: 27.67 kB / 0.7518 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.6653, allocations: 6.172 kB / 0.7519 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.6653, allocations: 6.031 kB / 0.7519 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6653, allocations: 4.25 kB / 0.7519 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6654, allocations: 7.5 kB / 0.7519 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.6658, allocations: 350.6 kB / 0.7522 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.6659, allocations: 116.7 kB / 0.7523 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.666, allocations: 9.875 kB / 0.7523 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.6661, allocations: 19.98 kB / 0.7523 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.6662, allocations: 19.94 kB / 0.7524 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.6662, allocations: 4 kB / 0.7524 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002154/0.6664, allocations: 223 kB / 0.7526 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6664, allocations: 0 / 0.7526 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003806/0.6668, allocations: 71.84 kB / 0.7526 GB, free: 3.262 MB / 0.5606 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.001023/0.6679, allocations: 0.9331 MB / 0.7536 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.6683, allocations: 164 kB / 0.7537 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6683, allocations: 0 / 0.7537 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.6685, allocations: 91.81 kB / 0.7538 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.6693, allocations: 156.3 kB / 0.754 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.6717, allocations: 1.665 MB / 0.7556 GB, free: 152 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.672, allocations: 0.7836 MB / 0.7563 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.6722, allocations: 62.67 kB / 0.7564 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.6724, allocations: 99.34 kB / 0.7565 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.6724, allocations: 0 / 0.7565 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.6929, allocations: 7.507 MB / 0.7638 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.6932, allocations: 213.7 kB / 0.764 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/2.568, allocations: 0 / 0.764 GB, free: 7.676 MB / 0.5762 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/linux/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) Environment - environmentSimulation: