Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.547/1.547, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 174.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009978/0.0009979, allocations: 91.97 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004264, allocations: 14.97 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 106.3 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.823/7.119, allocations: 2.179 GB / 3.079 GB, free: 249 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/7.119, allocations: 91.34 kB / 3.079 GB, free: 249 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4388/7.558, allocations: 202.1 MB / 3.277 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.316e-06/7.558, allocations: 0 / 3.277 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.549e-05/7.558, allocations: 7.984 kB / 3.277 GB, free: 145.2 MB / 0.8855 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.001071/7.559, allocations: 0.5957 MB / 3.277 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/7.559, allocations: 8.031 kB / 3.277 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/7.559, allocations: 54.48 kB / 3.277 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/7.559, allocations: 31.67 kB / 3.277 GB, free: 144.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/7.56, allocations: 278.2 kB / 3.278 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/7.56, allocations: 15.78 kB / 3.278 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/7.56, allocations: 24 kB / 3.278 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/7.56, allocations: 258.2 kB / 3.278 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/7.56, allocations: 0 / 3.278 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/7.56, allocations: 4 kB / 3.278 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/7.56, allocations: 8 kB / 3.278 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/7.561, allocations: 164.2 kB / 3.278 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/7.562, allocations: 1.349 MB / 3.279 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/7.562, allocations: 179.6 kB / 3.279 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/7.562, allocations: 121.1 kB / 3.28 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/7.562, allocations: 42.62 kB / 3.28 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/7.562, allocations: 0 / 3.28 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0005405/7.563, allocations: 213.8 kB / 3.28 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/7.563, allocations: 183.9 kB / 3.28 GB, free: 141.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/7.563, allocations: 250.4 kB / 3.28 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/7.563, allocations: 37.64 kB / 3.28 GB, free: 141 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/7.563, allocations: 151.9 kB / 3.28 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/7.563, allocations: 35.45 kB / 3.28 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/7.563, allocations: 0 / 3.28 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/7.563, allocations: 334.8 kB / 3.281 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/7.563, allocations: 43.97 kB / 3.281 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/7.564, allocations: 128.5 kB / 3.281 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/7.564, allocations: 64.03 kB / 3.281 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/7.564, allocations: 0 / 3.281 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003214/7.564, allocations: 197.1 kB / 3.281 GB, free: 140 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/7.564, allocations: 8 kB / 3.281 GB, free: 140 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/7.564, allocations: 0 / 3.281 GB, free: 140 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.643e-05/7.564, allocations: 7.984 kB / 3.281 GB, free: 140 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/7.564, allocations: 28.2 kB / 3.281 GB, free: 140 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/7.564, allocations: 15.92 kB / 3.281 GB, free: 140 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/7.564, allocations: 39.67 kB / 3.281 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/7.565, allocations: 8 kB / 3.281 GB, free: 139.9 MB / 0.8855 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.0001213/7.565, allocations: 145.8 kB / 3.281 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/7.565, allocations: 27.67 kB / 3.281 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/7.565, allocations: 134.9 kB / 3.282 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/7.565, allocations: 4 kB / 3.282 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/7.565, allocations: 0 / 3.282 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/7.565, allocations: 4 kB / 3.282 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/7.566, allocations: 0.7613 MB / 3.282 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/7.566, allocations: 4 kB / 3.282 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/7.566, allocations: 27.92 kB / 3.282 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/7.566, allocations: 0 / 3.282 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/7.566, allocations: 4 kB / 3.282 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/7.566, allocations: 12.27 kB / 3.282 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/7.566, allocations: 4 kB / 3.282 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/7.566, allocations: 400 kB / 3.283 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/7.566, allocations: 108.8 kB / 3.283 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/7.567, allocations: 4 kB / 3.283 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/7.567, allocations: 15.98 kB / 3.283 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/7.567, allocations: 11.92 kB / 3.283 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/7.567, allocations: 8.156 kB / 3.283 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001466/7.567, allocations: 209.9 kB / 3.283 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/7.567, allocations: 0 / 3.283 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007748/7.568, allocations: 140 kB / 3.283 GB, free: 137.8 MB / 0.8855 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.002155/7.57, allocations: 2.172 MB / 3.285 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003249/7.57, allocations: 115.9 kB / 3.285 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/7.57, allocations: 448 / 3.285 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/7.57, allocations: 67.84 kB / 3.286 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/7.571, allocations: 124.4 kB / 3.286 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/7.573, allocations: 2.49 MB / 3.288 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/7.573, allocations: 0.756 MB / 3.289 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001548/7.573, allocations: 50.25 kB / 3.289 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/7.574, allocations: 67.42 kB / 3.289 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.223e-06/7.574, allocations: 0 / 3.289 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/7.61, allocations: 21.89 MB / 3.31 GB, free: 110 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/7.61, allocations: 231.7 kB / 3.311 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/10.19, allocations: 0 / 3.311 GB, free: 109.8 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)