Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01297/0.01297, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.398/1.398, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.145/3.145, allocations: 223.2 MB / 406.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 102.3 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006084/0.0006087, allocations: 8 kB / 0.5692 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8034/0.8041, allocations: 82.31 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.104/9.908, allocations: 1.829 GB / 2.479 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004854/9.909, allocations: 91.95 kB / 2.479 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.559/11.47, allocations: 210.5 MB / 2.684 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.54e-06/11.47, allocations: 3.688 kB / 2.684 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.473e-05/11.47, allocations: 15.16 kB / 2.684 GB, free: 203.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001817/11.47, allocations: 0.5913 MB / 2.685 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.131e-05/11.47, allocations: 9.062 kB / 2.685 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/11.47, allocations: 49.42 kB / 2.685 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/11.47, allocations: 31.09 kB / 2.685 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007278/11.47, allocations: 289.4 kB / 2.685 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/11.47, allocations: 13.2 kB / 2.685 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.284e-05/11.47, allocations: 19.09 kB / 2.685 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/11.47, allocations: 257.4 kB / 2.686 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/11.47, allocations: 2.156 kB / 2.686 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/11.47, allocations: 7.688 kB / 2.686 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/11.47, allocations: 3.75 kB / 2.686 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/11.47, allocations: 164.2 kB / 2.686 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/11.47, allocations: 1.357 MB / 2.687 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/11.47, allocations: 177 kB / 2.687 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003816/11.48, allocations: 127.4 kB / 2.687 GB, free: 200.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/11.48, allocations: 30.56 kB / 2.687 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 8.035e-06/11.48, allocations: 7.625 kB / 2.687 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0009636/11.48, allocations: 217.2 kB / 2.688 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/11.48, allocations: 179.9 kB / 2.688 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/11.48, allocations: 259.3 kB / 2.688 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/11.48, allocations: 25.7 kB / 2.688 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/11.48, allocations: 153.2 kB / 2.688 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/11.48, allocations: 39.75 kB / 2.688 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/11.48, allocations: 0 / 2.688 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002141/11.48, allocations: 338.5 kB / 2.689 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/11.48, allocations: 43.97 kB / 2.689 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/11.48, allocations: 131.2 kB / 2.689 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/11.48, allocations: 69.33 kB / 2.689 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/11.48, allocations: 3.781 kB / 2.689 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005002/11.48, allocations: 196.6 kB / 2.689 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/11.48, allocations: 3.594 kB / 2.689 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/11.48, allocations: 7.562 kB / 2.689 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/11.48, allocations: 7.406 kB / 2.689 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/11.48, allocations: 34.14 kB / 2.689 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/11.48, allocations: 0 / 2.689 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/11.48, allocations: 38.08 kB / 2.689 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/11.48, allocations: 18.83 kB / 2.689 GB, free: 199.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.00021/11.48, allocations: 145.7 kB / 2.689 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/11.48, allocations: 26.92 kB / 2.689 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/11.48, allocations: 134.6 kB / 2.689 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/11.48, allocations: 0 / 2.689 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/11.48, allocations: 3.719 kB / 2.689 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/11.48, allocations: 0 / 2.689 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/11.48, allocations: 0.7703 MB / 2.69 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/11.48, allocations: 4.031 kB / 2.69 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/11.48, allocations: 26.58 kB / 2.69 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/11.48, allocations: 0 / 2.69 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/11.48, allocations: 7.688 kB / 2.69 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/11.48, allocations: 3.656 kB / 2.69 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/11.48, allocations: 0 / 2.69 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/11.48, allocations: 407.9 kB / 2.691 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/11.48, allocations: 110.9 kB / 2.691 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/11.48, allocations: 4 kB / 2.691 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/11.48, allocations: 18.45 kB / 2.691 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/11.48, allocations: 7.281 kB / 2.691 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/11.48, allocations: 3.906 kB / 2.691 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002712/11.48, allocations: 214.5 kB / 2.691 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/11.48, allocations: 0 / 2.691 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00119/11.48, allocations: 146.1 kB / 2.691 GB, free: 197.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.003702/11.49, allocations: 2.164 MB / 2.693 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005905/11.49, allocations: 130.1 kB / 2.693 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/11.49, allocations: 0 / 2.693 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/11.49, allocations: 61.59 kB / 2.693 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/11.49, allocations: 126.8 kB / 2.693 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/11.49, allocations: 2.513 MB / 2.696 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/11.49, allocations: 0.7638 MB / 2.697 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003251/11.5, allocations: 42.27 kB / 2.697 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/11.5, allocations: 75.41 kB / 2.697 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of SimCode: time 3.337e-06/11.5, allocations: 0 / 2.697 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06297/11.56, allocations: 22.02 MB / 2.718 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003652/11.56, allocations: 206 kB / 2.718 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.399/15.96, allocations: 0 / 2.718 GB, free: 170.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)