Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_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.0009918/0.0009919, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5263/0.5263, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 101.3 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.93e-05/1.915e-05, allocations: 8 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1902, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.279/4.469, allocations: 1.819 GB / 2.372 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/4.47, allocations: 91.89 kB / 2.373 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.75/5.22, allocations: 207.5 MB / 2.575 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/5.22, allocations: 0 / 2.575 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.073e-05/5.22, allocations: 11.36 kB / 2.575 GB, free: 151.3 MB / 0.6042 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.0008603/5.221, allocations: 0.5629 MB / 2.576 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/5.221, allocations: 8.031 kB / 2.576 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/5.221, allocations: 25.95 kB / 2.576 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/5.221, allocations: 286.1 kB / 2.576 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/5.221, allocations: 7.953 kB / 2.576 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/5.221, allocations: 12 kB / 2.576 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001736/5.221, allocations: 99.97 kB / 2.576 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/5.222, allocations: 218 kB / 2.576 GB, free: 150 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/5.222, allocations: 4 kB / 2.576 GB, free: 150 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/5.222, allocations: 0 / 2.576 GB, free: 150 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/5.222, allocations: 4 kB / 2.576 GB, free: 150 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/5.223, allocations: 1.285 MB / 2.578 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/5.223, allocations: 159.7 kB / 2.578 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/5.223, allocations: 81.19 kB / 2.578 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/5.223, allocations: 113 kB / 2.578 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/5.223, allocations: 42.5 kB / 2.578 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/5.223, allocations: 4 kB / 2.578 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.000388/5.224, allocations: 133.3 kB / 2.578 GB, free: 148 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/5.224, allocations: 183.9 kB / 2.578 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/5.224, allocations: 166.1 kB / 2.578 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/5.224, allocations: 25.86 kB / 2.579 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/5.224, allocations: 168 kB / 2.579 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/5.224, allocations: 27.56 kB / 2.579 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/5.224, allocations: 0 / 2.579 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.006e-05/5.224, allocations: 334.8 kB / 2.579 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/5.224, allocations: 27.94 kB / 2.579 GB, free: 147 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-05/5.224, allocations: 119.5 kB / 2.579 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/5.224, allocations: 55.95 kB / 2.579 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/5.224, allocations: 0 / 2.579 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002399/5.225, allocations: 157.3 kB / 2.579 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/5.225, allocations: 9.25 kB / 2.579 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/5.225, allocations: 0 / 2.579 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/5.225, allocations: 4 kB / 2.579 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/5.225, allocations: 35.92 kB / 2.579 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/5.225, allocations: 7.984 kB / 2.579 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/5.225, allocations: 24.11 kB / 2.579 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/5.225, allocations: 11.94 kB / 2.579 GB, free: 146.6 MB / 0.6042 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.191e-05/5.225, allocations: 116.8 kB / 2.58 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002894/5.225, allocations: 133.3 kB / 2.58 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.935e-05/5.225, allocations: 19.81 kB / 2.58 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/5.226, allocations: 123.6 kB / 2.58 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/5.226, allocations: 0 / 2.58 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/5.226, allocations: 4 kB / 2.58 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/5.226, allocations: 3.953 kB / 2.58 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/5.226, allocations: 0.7151 MB / 2.581 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/5.226, allocations: 0 / 2.581 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/5.226, allocations: 27.92 kB / 2.581 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/5.226, allocations: 11.97 kB / 2.581 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/5.226, allocations: 3.953 kB / 2.581 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/5.226, allocations: 4 kB / 2.581 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/5.226, allocations: 0 / 2.581 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/5.227, allocations: 356.5 kB / 2.581 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/5.227, allocations: 104.9 kB / 2.581 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/5.227, allocations: 4 kB / 2.581 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/5.227, allocations: 11.98 kB / 2.581 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/5.227, allocations: 19.88 kB / 2.581 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/5.227, allocations: 4 kB / 2.581 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.335e-05/5.227, allocations: 138.2 kB / 2.581 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/5.227, allocations: 0 / 2.581 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004945/5.228, allocations: 126.9 kB / 2.581 GB, free: 144.5 MB / 0.6042 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.001707/5.229, allocations: 2.247 MB / 2.584 GB, free: 142.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001829/5.23, allocations: 79.91 kB / 2.584 GB, free: 142.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/5.23, allocations: 0 / 2.584 GB, free: 142.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/5.23, allocations: 39.94 kB / 2.584 GB, free: 142.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/5.23, allocations: 74.61 kB / 2.584 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/5.231, allocations: 416.2 kB / 2.584 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/5.231, allocations: 0.7633 MB / 2.585 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001043/5.231, allocations: 42.08 kB / 2.585 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/5.231, allocations: 63.42 kB / 2.585 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/5.231, allocations: 0 / 2.585 GB, free: 140.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/5.261, allocations: 11.96 MB / 2.597 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/5.261, allocations: 171.2 kB / 2.597 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/7.434, allocations: 4 kB / 2.597 GB, free: 128.7 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)