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.002172/0.002173, allocations: 175.2 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.7912/0.7912, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.49/1.49, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.001012/0.001012, allocations: 95.83 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.177e-05/5.219e-05, allocations: 4.281 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2007, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.032/5.233, allocations: 1.829 GB / 2.47 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/5.233, allocations: 79.95 kB / 2.47 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.901/6.134, allocations: 210.3 MB / 2.675 GB, free: 166 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/6.134, allocations: 0 / 2.675 GB, free: 166 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.027e-05/6.134, allocations: 4 kB / 2.675 GB, free: 166 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.001251/6.136, allocations: 0.564 MB / 2.676 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/6.136, allocations: 12.03 kB / 2.676 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.591e-05/6.136, allocations: 58.47 kB / 2.676 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.468e-05/6.136, allocations: 29.44 kB / 2.676 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/6.136, allocations: 287.2 kB / 2.676 GB, free: 165 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/6.136, allocations: 12.86 kB / 2.676 GB, free: 165 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/6.136, allocations: 24 kB / 2.676 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/6.137, allocations: 234.5 kB / 2.676 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/6.137, allocations: 0 / 2.676 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/6.137, allocations: 11.98 kB / 2.676 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/6.137, allocations: 4 kB / 2.676 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/6.137, allocations: 120.4 kB / 2.676 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/6.138, allocations: 1.364 MB / 2.678 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/6.138, allocations: 167.8 kB / 2.678 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/6.138, allocations: 77.14 kB / 2.678 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/6.139, allocations: 105.1 kB / 2.678 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/6.139, allocations: 50.48 kB / 2.678 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/6.139, allocations: 3.938 kB / 2.678 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003411/6.139, allocations: 129.3 kB / 2.678 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/6.139, allocations: 187.9 kB / 2.678 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/6.139, allocations: 255.6 kB / 2.679 GB, free: 162 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/6.139, allocations: 29.7 kB / 2.679 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.024e-05/6.139, allocations: 148.2 kB / 2.679 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/6.14, allocations: 43.45 kB / 2.679 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/6.14, allocations: 0 / 2.679 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/6.14, allocations: 338.8 kB / 2.679 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/6.14, allocations: 28 kB / 2.679 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-05/6.14, allocations: 111 kB / 2.679 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.718e-05/6.14, allocations: 43.92 kB / 2.679 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/6.14, allocations: 0 / 2.679 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002081/6.14, allocations: 157.2 kB / 2.679 GB, free: 161 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/6.14, allocations: 8.562 kB / 2.679 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/6.14, allocations: 4 kB / 2.679 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/6.14, allocations: 4 kB / 2.68 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/6.14, allocations: 40.12 kB / 2.68 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/6.14, allocations: 4 kB / 2.68 GB, free: 161 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/6.14, allocations: 39.67 kB / 2.68 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/6.141, allocations: 4 kB / 2.68 GB, free: 160.9 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 7.628e-05/6.141, allocations: 120.9 kB / 2.68 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/6.141, allocations: 23.72 kB / 2.68 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/6.141, allocations: 103.3 kB / 2.68 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/6.141, allocations: 0 / 2.68 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/6.141, allocations: 8 kB / 2.68 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/6.141, allocations: 0 / 2.68 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/6.142, allocations: 0.7691 MB / 2.681 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/6.142, allocations: 0 / 2.681 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/6.142, allocations: 27.97 kB / 2.681 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/6.142, allocations: 4 kB / 2.681 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/6.142, allocations: 4 kB / 2.681 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/6.142, allocations: 3.938 kB / 2.681 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/6.142, allocations: 4 kB / 2.681 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/6.142, allocations: 352.1 kB / 2.681 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/6.142, allocations: 104.8 kB / 2.681 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/6.142, allocations: 12.08 kB / 2.681 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/6.142, allocations: 15.92 kB / 2.681 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/6.142, allocations: 7.953 kB / 2.681 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/6.142, allocations: 8 kB / 2.681 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001621/6.143, allocations: 211.2 kB / 2.681 GB, free: 159 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/6.143, allocations: 3.938 kB / 2.681 GB, free: 159 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006904/6.143, allocations: 147.9 kB / 2.681 GB, free: 158.8 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.002011/6.145, allocations: 2.103 MB / 2.683 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001893/6.146, allocations: 91.86 kB / 2.684 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/6.146, allocations: 0 / 2.684 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/6.146, allocations: 43.92 kB / 2.684 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/6.146, allocations: 114.8 kB / 2.684 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/6.147, allocations: 451.4 kB / 2.684 GB, free: 156 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/6.147, allocations: 0.7599 MB / 2.685 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001663/6.147, allocations: 46.05 kB / 2.685 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/6.148, allocations: 75.41 kB / 2.685 GB, free: 155 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/6.148, allocations: 3.938 kB / 2.685 GB, free: 155 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/6.19, allocations: 24.73 MB / 2.709 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/6.19, allocations: 195.1 kB / 2.709 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/8.771, allocations: 0 / 2.709 GB, free: 130.2 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)