Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_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.001711/0.001711, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9082/0.9082, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 400.4 MB, free: 5.805 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009066/0.0009071, allocations: 89.89 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.905e-05, allocations: 3.531 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1796, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.993/5.172, allocations: 1.829 GB / 2.47 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/5.173, allocations: 84.2 kB / 2.47 GB, free: 66.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8601/6.033, allocations: 210.4 MB / 2.675 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/6.033, allocations: 0 / 2.675 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.517e-05/6.033, allocations: 15.94 kB / 2.675 GB, free: 135.5 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.0009371/6.034, allocations: 0.564 MB / 2.676 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/6.034, allocations: 8.031 kB / 2.676 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.38e-05/6.034, allocations: 54.55 kB / 2.676 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/6.034, allocations: 25.44 kB / 2.676 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/6.034, allocations: 283.2 kB / 2.676 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/6.034, allocations: 19.95 kB / 2.676 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/6.034, allocations: 19.98 kB / 2.676 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/6.035, allocations: 234.5 kB / 2.676 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/6.035, allocations: 7.875 kB / 2.676 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/6.035, allocations: 8 kB / 2.676 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/6.035, allocations: 8 kB / 2.676 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/6.035, allocations: 116.4 kB / 2.676 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/6.036, allocations: 1.364 MB / 2.678 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/6.036, allocations: 159.6 kB / 2.678 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/6.036, allocations: 81.27 kB / 2.678 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/6.037, allocations: 113.1 kB / 2.678 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/6.037, allocations: 46.48 kB / 2.678 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/6.037, allocations: 0 / 2.678 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003247/6.037, allocations: 133.3 kB / 2.678 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/6.037, allocations: 183.9 kB / 2.678 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/6.037, allocations: 255.5 kB / 2.679 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/6.037, allocations: 29.7 kB / 2.679 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/6.037, allocations: 148.2 kB / 2.679 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/6.037, allocations: 39.44 kB / 2.679 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/6.037, allocations: 4 kB / 2.679 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/6.037, allocations: 338.9 kB / 2.679 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/6.037, allocations: 31.94 kB / 2.679 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/6.038, allocations: 106.1 kB / 2.679 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.835e-05/6.038, allocations: 47.97 kB / 2.679 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/6.038, allocations: 0 / 2.679 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002007/6.038, allocations: 161.5 kB / 2.679 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/6.038, allocations: 8.625 kB / 2.679 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/6.038, allocations: 4.062 kB / 2.679 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/6.038, allocations: 4 kB / 2.68 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/6.038, allocations: 35.92 kB / 2.68 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/6.038, allocations: 3.984 kB / 2.68 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/6.038, allocations: 35.69 kB / 2.68 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/6.038, allocations: 16.06 kB / 2.68 GB, free: 130.4 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 () * 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 6.133e-05/6.038, allocations: 109 kB / 2.68 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/6.038, allocations: 23.72 kB / 2.68 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/6.039, allocations: 106.9 kB / 2.68 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/6.039, allocations: 7.938 kB / 2.68 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/6.039, allocations: 0 / 2.68 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/6.039, allocations: 4 kB / 2.68 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/6.039, allocations: 0.7651 MB / 2.681 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/6.039, allocations: 0 / 2.681 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/6.039, allocations: 23.98 kB / 2.681 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/6.039, allocations: 7.984 kB / 2.681 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/6.04, allocations: 8.109 kB / 2.681 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/6.04, allocations: 4 kB / 2.681 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/6.04, allocations: 0 / 2.681 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/6.04, allocations: 351.9 kB / 2.681 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/6.04, allocations: 108.8 kB / 2.681 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/6.04, allocations: 3.984 kB / 2.681 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/6.04, allocations: 16.06 kB / 2.681 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/6.04, allocations: 16 kB / 2.681 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/6.04, allocations: 8 kB / 2.681 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001572/6.04, allocations: 207.1 kB / 2.681 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/6.04, allocations: 0 / 2.681 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006233/6.041, allocations: 143.9 kB / 2.681 GB, free: 128.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 () * 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.001755/6.043, allocations: 2.111 MB / 2.683 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001837/6.043, allocations: 91.86 kB / 2.684 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/6.043, allocations: 0 / 2.684 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/6.043, allocations: 44.55 kB / 2.684 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/6.044, allocations: 125.8 kB / 2.684 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/6.044, allocations: 461.2 kB / 2.684 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/6.045, allocations: 0.7599 MB / 2.685 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001551/6.045, allocations: 46.05 kB / 2.685 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.199e-05/6.045, allocations: 67.41 kB / 2.685 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.3e-07/6.045, allocations: 0 / 2.685 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/6.086, allocations: 24.73 MB / 2.709 GB, free: 99.94 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/6.086, allocations: 177.8 kB / 2.709 GB, free: 99.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/8.621, allocations: 0 / 2.709 GB, free: 99.72 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)