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.001639/0.001639, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5672/0.5672, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 95.2 kB / 427.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004209, allocations: 15.98 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2131, allocations: 72.31 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.671/5.884, allocations: 1.82 GB / 2.388 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/5.885, allocations: 87.95 kB / 2.389 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8085/6.693, allocations: 210.6 MB / 2.594 GB, free: 96.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/6.693, allocations: 0 / 2.594 GB, free: 96.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.987e-05/6.693, allocations: 8 kB / 2.594 GB, free: 96.49 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.001241/6.695, allocations: 0.6111 MB / 2.595 GB, free: 95.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/6.695, allocations: 15.95 kB / 2.595 GB, free: 95.81 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.665e-05/6.695, allocations: 50.55 kB / 2.595 GB, free: 95.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/6.695, allocations: 29.09 kB / 2.595 GB, free: 95.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/6.695, allocations: 279.4 kB / 2.595 GB, free: 95.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/6.695, allocations: 16 kB / 2.595 GB, free: 95.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/6.695, allocations: 20 kB / 2.595 GB, free: 95.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/6.696, allocations: 258.2 kB / 2.595 GB, free: 95.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/6.696, allocations: 0 / 2.595 GB, free: 95.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/6.696, allocations: 8 kB / 2.595 GB, free: 95.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/6.696, allocations: 12 kB / 2.595 GB, free: 95.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/6.696, allocations: 148.3 kB / 2.596 GB, free: 94.92 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/6.697, allocations: 1.36 MB / 2.597 GB, free: 93.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/6.698, allocations: 183.4 kB / 2.597 GB, free: 93.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/6.698, allocations: 113.1 kB / 2.597 GB, free: 93.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/6.698, allocations: 38.5 kB / 2.597 GB, free: 93.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/6.698, allocations: 4 kB / 2.597 GB, free: 93.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0006289/6.699, allocations: 225.7 kB / 2.597 GB, free: 92.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/6.699, allocations: 184.4 kB / 2.598 GB, free: 92.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/6.699, allocations: 254.2 kB / 2.598 GB, free: 92.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/6.699, allocations: 29.7 kB / 2.598 GB, free: 92.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/6.699, allocations: 160.1 kB / 2.598 GB, free: 92.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/6.699, allocations: 31.55 kB / 2.598 GB, free: 92.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/6.699, allocations: 0 / 2.598 GB, free: 92.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/6.699, allocations: 338.8 kB / 2.598 GB, free: 91.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/6.699, allocations: 43.97 kB / 2.598 GB, free: 91.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/6.7, allocations: 134.3 kB / 2.599 GB, free: 91.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/6.7, allocations: 67.97 kB / 2.599 GB, free: 91.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/6.7, allocations: 0 / 2.599 GB, free: 91.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000367/6.7, allocations: 193.3 kB / 2.599 GB, free: 91.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/6.7, allocations: 7.938 kB / 2.599 GB, free: 91.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/6.7, allocations: 4 kB / 2.599 GB, free: 91.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/6.7, allocations: 3.953 kB / 2.599 GB, free: 91.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/6.7, allocations: 35.92 kB / 2.599 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/6.7, allocations: 7.984 kB / 2.599 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/6.701, allocations: 39.75 kB / 2.599 GB, free: 91.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/6.701, allocations: 12 kB / 2.599 GB, free: 91.21 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 () * Number of clocked 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 0.0001604/6.701, allocations: 147.2 kB / 2.599 GB, free: 91.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/6.701, allocations: 23.72 kB / 2.599 GB, free: 91.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/6.701, allocations: 135 kB / 2.599 GB, free: 90.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/6.701, allocations: 4 kB / 2.599 GB, free: 90.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/6.701, allocations: 7.891 kB / 2.599 GB, free: 90.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/6.701, allocations: 4 kB / 2.599 GB, free: 90.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007685/6.702, allocations: 0.7614 MB / 2.6 GB, free: 90.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/6.702, allocations: 12.33 kB / 2.6 GB, free: 90.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/6.702, allocations: 23.98 kB / 2.6 GB, free: 90.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/6.702, allocations: 0 / 2.6 GB, free: 90.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/6.702, allocations: 12 kB / 2.6 GB, free: 90 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/6.702, allocations: 0 / 2.6 GB, free: 90 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/6.702, allocations: 4 kB / 2.6 GB, free: 90 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/6.703, allocations: 399.9 kB / 2.6 GB, free: 89.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/6.703, allocations: 116.8 kB / 2.601 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/6.703, allocations: 7.953 kB / 2.601 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/6.703, allocations: 16.05 kB / 2.601 GB, free: 89.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/6.703, allocations: 8 kB / 2.601 GB, free: 89.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/6.703, allocations: 7.984 kB / 2.601 GB, free: 89.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001959/6.703, allocations: 205.9 kB / 2.601 GB, free: 89.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/6.703, allocations: 0 / 2.601 GB, free: 89.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009223/6.704, allocations: 143.9 kB / 2.601 GB, free: 89.03 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 () * Number of clocked 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.002476/6.707, allocations: 2.158 MB / 2.603 GB, free: 86.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003785/6.707, allocations: 131.8 kB / 2.603 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/6.707, allocations: 0 / 2.603 GB, free: 86.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/6.707, allocations: 60.66 kB / 2.603 GB, free: 86.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/6.708, allocations: 128.7 kB / 2.603 GB, free: 86.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/6.71, allocations: 2.505 MB / 2.606 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/6.71, allocations: 0.7638 MB / 2.606 GB, free: 83.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001711/6.711, allocations: 50.52 kB / 2.607 GB, free: 83.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/6.711, allocations: 71.41 kB / 2.607 GB, free: 83 MB / 0.6042 GB Notification: Performance of SimCode: time 6.42e-07/6.711, allocations: 0 / 2.607 GB, free: 83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/6.748, allocations: 22 MB / 2.628 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/6.748, allocations: 213.5 kB / 2.628 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/9.32, allocations: 4.062 kB / 2.628 GB, free: 60.91 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)