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.001262/0.001262, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7641/0.7641, allocations: 133.6 MB / 141.6 MB, free: 2.824 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009543/0.0009542, allocations: 101.2 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.496e-05/2.497e-05, allocations: 4 kB / 0.5535 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5055, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.255/5.76, allocations: 1.828 GB / 2.462 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/5.761, allocations: 86.83 kB / 2.462 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8078/6.568, allocations: 207.5 MB / 2.665 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.212e-06/6.568, allocations: 0 / 2.665 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.082e-05/6.569, allocations: 8.812 kB / 2.665 GB, free: 198.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.0008056/6.569, allocations: 0.569 MB / 2.666 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.969e-05/6.569, allocations: 7.781 kB / 2.666 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/6.569, allocations: 26.59 kB / 2.666 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/6.57, allocations: 286.7 kB / 2.666 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/6.57, allocations: 6.812 kB / 2.666 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/6.57, allocations: 13.61 kB / 2.666 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001868/6.57, allocations: 95.03 kB / 2.666 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/6.57, allocations: 224.9 kB / 2.666 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/6.57, allocations: 0 / 2.666 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/6.57, allocations: 0 / 2.666 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/6.57, allocations: 3.906 kB / 2.666 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/6.571, allocations: 1.293 MB / 2.668 GB, free: 196.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/6.571, allocations: 161.5 kB / 2.668 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/6.572, allocations: 76.03 kB / 2.668 GB, free: 196.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002491/6.572, allocations: 110.6 kB / 2.668 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/6.572, allocations: 48.98 kB / 2.668 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/6.572, allocations: 0 / 2.668 GB, free: 196.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.000395/6.572, allocations: 138.3 kB / 2.668 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/6.572, allocations: 183.3 kB / 2.668 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/6.572, allocations: 175.3 kB / 2.668 GB, free: 196 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/6.572, allocations: 29.61 kB / 2.668 GB, free: 196 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/6.573, allocations: 156.4 kB / 2.669 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/6.573, allocations: 33.91 kB / 2.669 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/6.573, allocations: 0 / 2.669 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/6.573, allocations: 330 kB / 2.669 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/6.573, allocations: 26.64 kB / 2.669 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/6.573, allocations: 105 kB / 2.669 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/6.573, allocations: 66.44 kB / 2.669 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/6.573, allocations: 0 / 2.669 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002731/6.573, allocations: 160.6 kB / 2.669 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/6.573, allocations: 3.156 kB / 2.669 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/6.573, allocations: 3.281 kB / 2.669 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/6.573, allocations: 6.359 kB / 2.669 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/6.574, allocations: 43.67 kB / 2.669 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/6.574, allocations: 2.156 kB / 2.669 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/6.574, allocations: 23.67 kB / 2.669 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/6.574, allocations: 6.969 kB / 2.669 GB, free: 195.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.548e-05/6.574, allocations: 109.2 kB / 2.669 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003023/6.574, allocations: 137.8 kB / 2.67 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/6.574, allocations: 31.22 kB / 2.67 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/6.574, allocations: 106.5 kB / 2.67 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/6.574, allocations: 3.656 kB / 2.67 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/6.574, allocations: 0 / 2.67 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/6.575, allocations: 6.062 kB / 2.67 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/6.575, allocations: 0.7327 MB / 2.67 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/6.575, allocations: 0 / 2.67 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/6.575, allocations: 26.88 kB / 2.67 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/6.575, allocations: 7.094 kB / 2.67 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/6.575, allocations: 3.938 kB / 2.67 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/6.575, allocations: 3.844 kB / 2.67 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/6.575, allocations: 3.781 kB / 2.67 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/6.576, allocations: 352.5 kB / 2.671 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/6.576, allocations: 103.8 kB / 2.671 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/6.576, allocations: 3.156 kB / 2.671 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/6.576, allocations: 15.69 kB / 2.671 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/6.576, allocations: 10.39 kB / 2.671 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/6.576, allocations: 10 kB / 2.671 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.611e-05/6.576, allocations: 136.2 kB / 2.671 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/6.576, allocations: 0 / 2.671 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005553/6.577, allocations: 129 kB / 2.671 GB, free: 194.2 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.002139/6.579, allocations: 2.24 MB / 2.673 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002072/6.579, allocations: 85.27 kB / 2.673 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/6.579, allocations: 0 / 2.673 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/6.579, allocations: 42.95 kB / 2.673 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/6.58, allocations: 59.61 kB / 2.674 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008455/6.58, allocations: 416 kB / 2.674 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/6.581, allocations: 0.7621 MB / 2.675 GB, free: 192 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001174/6.581, allocations: 40.31 kB / 2.675 GB, free: 192 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/6.581, allocations: 64.75 kB / 2.675 GB, free: 192 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/6.581, allocations: 0 / 2.675 GB, free: 192 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/6.617, allocations: 11.96 MB / 2.686 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/6.617, allocations: 157.7 kB / 2.687 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/8.67, allocations: 4 kB / 2.687 GB, free: 191.2 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)