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.001842/0.001842, allocations: 174.4 kB / 7.647 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.837/0.837, allocations: 133.6 MB / 141.6 MB, free: 2.836 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.537/1.537, 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.0009033/0.0009033, allocations: 100.2 kB / 478.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.336e-05, allocations: 8 kB / 0.5535 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4719, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.85/5.322, allocations: 1.828 GB / 2.462 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/5.322, allocations: 85.89 kB / 2.462 GB, free: 168 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9087/6.231, allocations: 207.5 MB / 2.665 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/6.231, allocations: 0 / 2.665 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.937e-05/6.231, allocations: 7.031 kB / 2.665 GB, free: 202.8 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.00119/6.232, allocations: 0.5692 MB / 2.666 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/6.232, allocations: 11.53 kB / 2.666 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/6.232, allocations: 28.55 kB / 2.666 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/6.233, allocations: 287.5 kB / 2.666 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/6.233, allocations: 3.531 kB / 2.666 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/6.233, allocations: 19.02 kB / 2.666 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002371/6.233, allocations: 103.8 kB / 2.666 GB, free: 202.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/6.233, allocations: 212.7 kB / 2.666 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/6.233, allocations: 0 / 2.666 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/6.234, allocations: 0 / 2.666 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/6.234, allocations: 7.75 kB / 2.666 GB, free: 202 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/6.235, allocations: 1.293 MB / 2.668 GB, free: 201 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/6.235, allocations: 153 kB / 2.668 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/6.235, allocations: 77.2 kB / 2.668 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/6.235, allocations: 115.1 kB / 2.668 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/6.235, allocations: 47.95 kB / 2.668 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/6.235, allocations: 0 / 2.668 GB, free: 200.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004743/6.236, allocations: 138.9 kB / 2.668 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/6.236, allocations: 179.9 kB / 2.668 GB, free: 200.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/6.236, allocations: 169.9 kB / 2.668 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/6.236, allocations: 29.58 kB / 2.668 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/6.236, allocations: 156.1 kB / 2.669 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/6.236, allocations: 40.55 kB / 2.669 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/6.236, allocations: 0 / 2.669 GB, free: 200.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/6.236, allocations: 331.3 kB / 2.669 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/6.236, allocations: 20.97 kB / 2.669 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/6.236, allocations: 107.4 kB / 2.669 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/6.237, allocations: 71.5 kB / 2.669 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/6.237, allocations: 0 / 2.669 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002886/6.237, allocations: 157 kB / 2.669 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/6.237, allocations: 9.672 kB / 2.669 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/6.237, allocations: 3.594 kB / 2.669 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/6.237, allocations: 5.516 kB / 2.669 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/6.237, allocations: 35.03 kB / 2.669 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/6.237, allocations: 7.906 kB / 2.669 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/6.237, allocations: 25.88 kB / 2.669 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/6.237, allocations: 9.906 kB / 2.669 GB, free: 199.7 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.44e-05/6.238, allocations: 104.9 kB / 2.669 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003509/6.238, allocations: 143.6 kB / 2.67 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/6.238, allocations: 19.39 kB / 2.67 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/6.238, allocations: 108.8 kB / 2.67 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/6.238, allocations: 0 / 2.67 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/6.238, allocations: 3.625 kB / 2.67 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/6.238, allocations: 0 / 2.67 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/6.239, allocations: 0.7317 MB / 2.67 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/6.239, allocations: 3.906 kB / 2.67 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/6.239, allocations: 28.98 kB / 2.67 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/6.239, allocations: 0 / 2.67 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/6.239, allocations: 7.281 kB / 2.67 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/6.239, allocations: 0 / 2.67 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/6.239, allocations: 4.656 kB / 2.67 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/6.24, allocations: 357.8 kB / 2.671 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/6.24, allocations: 105.1 kB / 2.671 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/6.24, allocations: 3.344 kB / 2.671 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/6.24, allocations: 14.16 kB / 2.671 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/6.24, allocations: 10.33 kB / 2.671 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/6.24, allocations: 7.188 kB / 2.671 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001018/6.24, allocations: 135.2 kB / 2.671 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.094e-06/6.24, allocations: 0 / 2.671 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005659/6.241, allocations: 129.2 kB / 2.671 GB, free: 198.5 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.002411/6.243, allocations: 2.255 MB / 2.673 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001946/6.243, allocations: 77.75 kB / 2.673 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/6.243, allocations: 0 / 2.673 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/6.243, allocations: 40.69 kB / 2.673 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/6.244, allocations: 61.97 kB / 2.674 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009554/6.245, allocations: 418.4 kB / 2.674 GB, free: 197 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/6.245, allocations: 0.7567 MB / 2.675 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001412/6.245, allocations: 35 kB / 2.675 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.674e-05/6.245, allocations: 67.44 kB / 2.675 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/6.245, allocations: 0 / 2.675 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/6.284, allocations: 11.97 MB / 2.686 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/6.285, allocations: 156.2 kB / 2.687 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/8.342, allocations: 6.953 kB / 2.687 GB, free: 195.5 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)