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.644/1.644, allocations: 249.3 MB / 261.9 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 184.4 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0009832/0.0009834, allocations: 86.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.694e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.595/5.802, allocations: 2.179 GB / 3.071 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/5.803, allocations: 88.8 kB / 3.071 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9581/6.761, allocations: 201.8 MB / 3.268 GB, free: 244 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.063e-06/6.761, allocations: 0 / 3.268 GB, free: 244 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.269e-05/6.761, allocations: 7.312 kB / 3.268 GB, free: 244 MB / 0.8698 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.001332/6.762, allocations: 0.5594 MB / 3.269 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/6.762, allocations: 13 kB / 3.269 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.631e-05/6.762, allocations: 53.11 kB / 3.269 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/6.762, allocations: 27.91 kB / 3.269 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/6.763, allocations: 287.3 kB / 3.269 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/6.763, allocations: 15.62 kB / 3.269 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/6.763, allocations: 15.94 kB / 3.269 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/6.763, allocations: 242.8 kB / 3.269 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/6.763, allocations: 1.375 kB / 3.269 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/6.763, allocations: 15.66 kB / 3.269 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/6.763, allocations: 5.5 kB / 3.269 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/6.764, allocations: 116.7 kB / 3.269 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/6.765, allocations: 1.359 MB / 3.271 GB, free: 242.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/6.765, allocations: 166.7 kB / 3.271 GB, free: 242 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/6.765, allocations: 77.11 kB / 3.271 GB, free: 242 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/6.766, allocations: 121.5 kB / 3.271 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/6.766, allocations: 39.16 kB / 3.271 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/6.766, allocations: 4.281 kB / 3.271 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003627/6.766, allocations: 126.9 kB / 3.271 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/6.766, allocations: 187.1 kB / 3.271 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/6.766, allocations: 253.8 kB / 3.272 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/6.766, allocations: 27.58 kB / 3.272 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/6.766, allocations: 152.9 kB / 3.272 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/6.767, allocations: 34.44 kB / 3.272 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/6.767, allocations: 3.688 kB / 3.272 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/6.767, allocations: 331.9 kB / 3.272 GB, free: 241 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/6.767, allocations: 31.45 kB / 3.272 GB, free: 241 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/6.767, allocations: 103.9 kB / 3.272 GB, free: 241 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/6.767, allocations: 49.86 kB / 3.272 GB, free: 241 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/6.767, allocations: 3.969 kB / 3.272 GB, free: 241 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002314/6.767, allocations: 153.4 kB / 3.272 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/6.767, allocations: 9.922 kB / 3.272 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/6.767, allocations: 2.406 kB / 3.272 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/6.767, allocations: 2.281 kB / 3.272 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/6.767, allocations: 38.47 kB / 3.272 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/6.767, allocations: 2.594 kB / 3.272 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/6.768, allocations: 37.97 kB / 3.272 GB, free: 240.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/6.768, allocations: 8.188 kB / 3.273 GB, free: 240.9 MB / 0.8698 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.859e-05/6.768, allocations: 115.5 kB / 3.273 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/6.768, allocations: 24.34 kB / 3.273 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/6.768, allocations: 99.42 kB / 3.273 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/6.768, allocations: 6.203 kB / 3.273 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/6.768, allocations: 2.25 kB / 3.273 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/6.768, allocations: 6.438 kB / 3.273 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007419/6.769, allocations: 0.7621 MB / 3.273 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/6.769, allocations: 2.031 kB / 3.273 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/6.769, allocations: 30.2 kB / 3.274 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/6.769, allocations: 2.219 kB / 3.274 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/6.769, allocations: 6.734 kB / 3.274 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/6.769, allocations: 6.594 kB / 3.274 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/6.769, allocations: 1.188 kB / 3.274 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/6.77, allocations: 350.8 kB / 3.274 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/6.77, allocations: 113.6 kB / 3.274 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/6.77, allocations: 3.297 kB / 3.274 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/6.77, allocations: 18.77 kB / 3.274 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/6.77, allocations: 8.422 kB / 3.274 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/6.77, allocations: 4.031 kB / 3.274 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003375/6.771, allocations: 206.9 kB / 3.274 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.866e-06/6.771, allocations: 0 / 3.274 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0011/6.772, allocations: 147.5 kB / 3.274 GB, free: 239.7 MB / 0.8698 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.003313/6.775, allocations: 2.11 MB / 3.276 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003695/6.775, allocations: 85.77 kB / 3.276 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/6.775, allocations: 4.219 kB / 3.276 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/6.776, allocations: 50.39 kB / 3.277 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/6.777, allocations: 121.8 kB / 3.277 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/6.778, allocations: 443.2 kB / 3.277 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/6.778, allocations: 0.7607 MB / 3.278 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002181/6.779, allocations: 54.69 kB / 3.278 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/6.779, allocations: 70.97 kB / 3.278 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.81e-07/6.779, allocations: 1.031 kB / 3.278 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05861/6.837, allocations: 24.61 MB / 3.302 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/6.838, allocations: 190.8 kB / 3.302 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/9.323, allocations: 3.938 kB / 3.302 GB, free: 236.5 MB / 0.8698 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)