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.001108/0.001108, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5039/0.5039, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.322/1.322, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001007, allocations: 98.59 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.625e-05/3.638e-05, allocations: 4 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3326, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.821/4.153, allocations: 1.819 GB / 2.38 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/4.154, allocations: 86.27 kB / 2.38 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.727/4.881, allocations: 210.4 MB / 2.585 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/4.881, allocations: 0 / 2.585 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.89e-05/4.881, allocations: 10.97 kB / 2.585 GB, free: 173.8 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.0009761/4.882, allocations: 0.5633 MB / 2.586 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/4.882, allocations: 19.39 kB / 2.586 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.074e-05/4.882, allocations: 48 kB / 2.586 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/4.882, allocations: 30.05 kB / 2.586 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/4.882, allocations: 282.2 kB / 2.586 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/4.882, allocations: 16.94 kB / 2.586 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/4.882, allocations: 21 kB / 2.586 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/4.883, allocations: 246.1 kB / 2.587 GB, free: 173 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/4.883, allocations: 3.469 kB / 2.587 GB, free: 173 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/4.883, allocations: 3.688 kB / 2.587 GB, free: 173 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/4.883, allocations: 6.094 kB / 2.587 GB, free: 173 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/4.883, allocations: 123 kB / 2.587 GB, free: 173 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/4.884, allocations: 1.361 MB / 2.588 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/4.884, allocations: 160.2 kB / 2.588 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/4.884, allocations: 82 kB / 2.588 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/4.885, allocations: 116.7 kB / 2.588 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/4.885, allocations: 40.61 kB / 2.588 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/4.885, allocations: 0 / 2.588 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003439/4.885, allocations: 135.1 kB / 2.588 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/4.885, allocations: 183.2 kB / 2.589 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/4.885, allocations: 258.8 kB / 2.589 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/4.885, allocations: 32.11 kB / 2.589 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/4.885, allocations: 148.9 kB / 2.589 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/4.885, allocations: 39.39 kB / 2.589 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/4.885, allocations: 3.5 kB / 2.589 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/4.886, allocations: 337.2 kB / 2.589 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/4.886, allocations: 29.59 kB / 2.589 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.502e-05/4.886, allocations: 108.6 kB / 2.59 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/4.886, allocations: 51.56 kB / 2.59 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/4.886, allocations: 0 / 2.59 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002067/4.886, allocations: 157.1 kB / 2.59 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/4.886, allocations: 8.875 kB / 2.59 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/4.886, allocations: 0 / 2.59 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/4.886, allocations: 3.781 kB / 2.59 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/4.886, allocations: 38.23 kB / 2.59 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/4.886, allocations: 3.703 kB / 2.59 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/4.886, allocations: 36.34 kB / 2.59 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/4.886, allocations: 10.84 kB / 2.59 GB, free: 170.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.17e-05/4.887, allocations: 121.2 kB / 2.59 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/4.887, allocations: 22.28 kB / 2.59 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/4.887, allocations: 104.5 kB / 2.59 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/4.887, allocations: 3.906 kB / 2.59 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/4.887, allocations: 3.531 kB / 2.59 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/4.887, allocations: 0 / 2.59 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/4.887, allocations: 0.7704 MB / 2.591 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/4.887, allocations: 2.812 kB / 2.591 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/4.888, allocations: 27.94 kB / 2.591 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/4.888, allocations: 0 / 2.591 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/4.888, allocations: 5.062 kB / 2.591 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/4.888, allocations: 3.844 kB / 2.591 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/4.888, allocations: 3.75 kB / 2.591 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/4.888, allocations: 352.4 kB / 2.591 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/4.888, allocations: 110.6 kB / 2.591 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/4.888, allocations: 6.734 kB / 2.591 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/4.888, allocations: 11.5 kB / 2.591 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/4.888, allocations: 14.42 kB / 2.591 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/4.888, allocations: 7.125 kB / 2.591 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001622/4.888, allocations: 202.5 kB / 2.592 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.82e-07/4.888, allocations: 0 / 2.592 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006038/4.889, allocations: 146.8 kB / 2.592 GB, free: 169.3 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.001723/4.891, allocations: 2.108 MB / 2.594 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001848/4.891, allocations: 91.8 kB / 2.594 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/4.891, allocations: 0 / 2.594 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/4.891, allocations: 46.48 kB / 2.594 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/4.892, allocations: 118.3 kB / 2.594 GB, free: 168.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/4.893, allocations: 453.1 kB / 2.594 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/4.893, allocations: 0.7633 MB / 2.595 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001528/4.893, allocations: 50.14 kB / 2.595 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/4.893, allocations: 66.88 kB / 2.595 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/4.893, allocations: 0 / 2.595 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/4.933, allocations: 24.74 MB / 2.619 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/4.933, allocations: 187.1 kB / 2.62 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/7.496, allocations: 0 / 2.62 GB, free: 151.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)