Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 143.3 MB / 158.3 MB, free: 5.664 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 181.1 kB / 191.5 MB, free: 5.656 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0009663/0.0009665, allocations: 84.33 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 276.3 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004659, allocations: 12.81 kB / 0.6929 GB, free: 59.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 82.81 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.544/5.767, allocations: 1.826 GB / 2.6 GB, free: 251 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/5.767, allocations: 91.7 kB / 2.6 GB, free: 251 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.3979/6.165, allocations: 210.6 MB / 2.806 GB, free: 40 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.607e-06/6.165, allocations: 4 kB / 2.806 GB, free: 40 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.68e-05/6.165, allocations: 15.94 kB / 2.806 GB, free: 39.98 MB / 0.7136 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.001218/6.166, allocations: 0.6001 MB / 2.807 GB, free: 39.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/6.166, allocations: 12.02 kB / 2.807 GB, free: 39.32 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/6.166, allocations: 54.55 kB / 2.807 GB, free: 39.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/6.167, allocations: 27.62 kB / 2.807 GB, free: 39.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/6.167, allocations: 279.5 kB / 2.807 GB, free: 38.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/6.167, allocations: 16 kB / 2.807 GB, free: 38.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/6.167, allocations: 20 kB / 2.807 GB, free: 38.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/6.167, allocations: 254.5 kB / 2.807 GB, free: 38.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/6.168, allocations: 0 / 2.807 GB, free: 38.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/6.168, allocations: 12 kB / 2.807 GB, free: 38.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/6.168, allocations: 4 kB / 2.807 GB, free: 38.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/6.168, allocations: 156.3 kB / 2.807 GB, free: 38.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/6.169, allocations: 1.368 MB / 2.809 GB, free: 36.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/6.169, allocations: 179.8 kB / 2.809 GB, free: 36.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/6.17, allocations: 117.1 kB / 2.809 GB, free: 36.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/6.17, allocations: 42.5 kB / 2.809 GB, free: 36.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/6.17, allocations: 0 / 2.809 GB, free: 36.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005712/6.17, allocations: 217.5 kB / 2.809 GB, free: 36.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/6.17, allocations: 180.2 kB / 2.809 GB, free: 36.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/6.171, allocations: 258.2 kB / 2.81 GB, free: 35.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/6.171, allocations: 33.7 kB / 2.81 GB, free: 35.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/6.171, allocations: 148.2 kB / 2.81 GB, free: 35.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/6.171, allocations: 35.45 kB / 2.81 GB, free: 35.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/6.171, allocations: 0 / 2.81 GB, free: 35.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001029/6.171, allocations: 338.8 kB / 2.81 GB, free: 35.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/6.171, allocations: 47.97 kB / 2.81 GB, free: 35.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/6.171, allocations: 134.4 kB / 2.81 GB, free: 35.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/6.171, allocations: 60.34 kB / 2.81 GB, free: 35.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/6.171, allocations: 3.938 kB / 2.81 GB, free: 35.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003381/6.172, allocations: 193.2 kB / 2.811 GB, free: 34.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/6.172, allocations: 9.562 kB / 2.811 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/6.172, allocations: 0 / 2.811 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/6.172, allocations: 8.172 kB / 2.811 GB, free: 34.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/6.172, allocations: 35.92 kB / 2.811 GB, free: 34.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/6.172, allocations: 7.984 kB / 2.811 GB, free: 34.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/6.172, allocations: 31.83 kB / 2.811 GB, free: 34.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/6.172, allocations: 8 kB / 2.811 GB, free: 34.73 MB / 0.7136 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.0001267/6.172, allocations: 149.6 kB / 2.811 GB, free: 34.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/6.172, allocations: 27.72 kB / 2.811 GB, free: 34.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/6.173, allocations: 139.2 kB / 2.811 GB, free: 34.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/6.173, allocations: 3.938 kB / 2.811 GB, free: 34.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/6.173, allocations: 12.02 kB / 2.811 GB, free: 34.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/6.173, allocations: 3.984 kB / 2.811 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/6.173, allocations: 0.7574 MB / 2.812 GB, free: 33.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/6.173, allocations: 7.891 kB / 2.812 GB, free: 33.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/6.174, allocations: 28.14 kB / 2.812 GB, free: 33.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/6.174, allocations: 11.98 kB / 2.812 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/6.174, allocations: 0 / 2.812 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/6.174, allocations: 4 kB / 2.812 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/6.174, allocations: 0 / 2.812 GB, free: 33.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/6.174, allocations: 411.9 kB / 2.812 GB, free: 33.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/6.174, allocations: 108.8 kB / 2.812 GB, free: 32.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/6.174, allocations: 3.953 kB / 2.812 GB, free: 32.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/6.174, allocations: 11.98 kB / 2.812 GB, free: 32.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/6.174, allocations: 20.05 kB / 2.812 GB, free: 32.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/6.174, allocations: 4 kB / 2.812 GB, free: 32.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001686/6.175, allocations: 205.9 kB / 2.813 GB, free: 32.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/6.175, allocations: 0 / 2.813 GB, free: 32.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008059/6.175, allocations: 143.9 kB / 2.813 GB, free: 32.53 MB / 0.7136 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.002393/6.178, allocations: 2.172 MB / 2.815 GB, free: 30.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003512/6.178, allocations: 123.8 kB / 2.815 GB, free: 30.19 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/6.178, allocations: 0 / 2.815 GB, free: 30.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/6.178, allocations: 64.66 kB / 2.815 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/6.179, allocations: 129.6 kB / 2.815 GB, free: 30 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/6.181, allocations: 2.511 MB / 2.818 GB, free: 27.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/6.182, allocations: 0.7677 MB / 2.818 GB, free: 26.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001789/6.182, allocations: 58.23 kB / 2.818 GB, free: 26.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/6.182, allocations: 67.42 kB / 2.818 GB, free: 26.47 MB / 0.7136 GB Notification: Performance of SimCode: time 1.203e-06/6.182, allocations: 0 / 2.818 GB, free: 26.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04268/6.225, allocations: 22.02 MB / 2.84 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/6.225, allocations: 231.4 kB / 2.84 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/8.943, allocations: 0 / 2.84 GB, free: 4.379 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)