Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 289.7 MB / 302.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 181.3 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.2 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 88.42 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.023e-05, allocations: 8 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3199, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.465/6.785, allocations: 2.062 GB / 3.042 GB, free: 181.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/6.785, allocations: 89.09 kB / 3.042 GB, free: 181.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.096/7.881, allocations: 208.4 MB / 3.245 GB, free: 226.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.994e-06/7.881, allocations: 3.312 kB / 3.245 GB, free: 226.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.438e-05/7.881, allocations: 10.92 kB / 3.245 GB, free: 226.9 MB / 0.948 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.0008717/7.882, allocations: 0.5629 MB / 3.246 GB, free: 226.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/7.882, allocations: 8.562 kB / 3.246 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/7.882, allocations: 52.56 kB / 3.246 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/7.882, allocations: 29.59 kB / 3.246 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/7.882, allocations: 279.4 kB / 3.246 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/7.882, allocations: 21.7 kB / 3.246 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/7.882, allocations: 18.47 kB / 3.246 GB, free: 226.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/7.883, allocations: 235.9 kB / 3.246 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/7.883, allocations: 0 / 3.246 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/7.883, allocations: 11.69 kB / 3.246 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/7.883, allocations: 5.781 kB / 3.246 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/7.883, allocations: 114.2 kB / 3.246 GB, free: 226.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009964/7.884, allocations: 1.366 MB / 3.248 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/7.884, allocations: 156.5 kB / 3.248 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/7.884, allocations: 83.98 kB / 3.248 GB, free: 224.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/7.884, allocations: 113.5 kB / 3.248 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/7.884, allocations: 40.06 kB / 3.248 GB, free: 224.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/7.884, allocations: 0 / 3.248 GB, free: 224.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0003351/7.885, allocations: 138 kB / 3.248 GB, free: 224.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/7.885, allocations: 183.8 kB / 3.248 GB, free: 224.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/7.885, allocations: 258.5 kB / 3.249 GB, free: 224.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/7.885, allocations: 29.08 kB / 3.249 GB, free: 224.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/7.885, allocations: 155.2 kB / 3.249 GB, free: 224.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/7.885, allocations: 37.58 kB / 3.249 GB, free: 224.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/7.885, allocations: 3.25 kB / 3.249 GB, free: 224.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/7.885, allocations: 333.7 kB / 3.249 GB, free: 224 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.187e-05/7.885, allocations: 34.27 kB / 3.249 GB, free: 224 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/7.885, allocations: 108.2 kB / 3.249 GB, free: 223.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.117e-05/7.886, allocations: 45.33 kB / 3.249 GB, free: 223.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/7.886, allocations: 3.375 kB / 3.249 GB, free: 223.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002051/7.886, allocations: 156 kB / 3.25 GB, free: 223.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/7.886, allocations: 11.39 kB / 3.25 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/7.886, allocations: 6.375 kB / 3.25 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/7.886, allocations: 3.031 kB / 3.25 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/7.886, allocations: 32.64 kB / 3.25 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/7.886, allocations: 10.16 kB / 3.25 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/7.886, allocations: 32.73 kB / 3.25 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/7.886, allocations: 9.688 kB / 3.25 GB, free: 223.8 MB / 0.948 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.195e-05/7.886, allocations: 112 kB / 3.25 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/7.886, allocations: 28.45 kB / 3.25 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/7.887, allocations: 105.6 kB / 3.25 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/7.887, allocations: 3.438 kB / 3.25 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/7.887, allocations: 3.5 kB / 3.25 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/7.887, allocations: 10.62 kB / 3.25 GB, free: 223.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/7.887, allocations: 0.7642 MB / 3.251 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/7.887, allocations: 3.406 kB / 3.251 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/7.887, allocations: 29.2 kB / 3.251 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/7.887, allocations: 3.25 kB / 3.251 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/7.887, allocations: 3.062 kB / 3.251 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/7.887, allocations: 3.188 kB / 3.251 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/7.887, allocations: 5.156 kB / 3.251 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/7.888, allocations: 347.8 kB / 3.251 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/7.888, allocations: 112.2 kB / 3.251 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/7.888, allocations: 6.406 kB / 3.251 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/7.888, allocations: 20.2 kB / 3.251 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/7.888, allocations: 6.5 kB / 3.251 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/7.888, allocations: 3.25 kB / 3.251 GB, free: 222.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001674/7.888, allocations: 206.7 kB / 3.251 GB, free: 222.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.888, allocations: 0.9375 kB / 3.251 GB, free: 222.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006461/7.889, allocations: 146 kB / 3.252 GB, free: 222.6 MB / 0.948 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.001814/7.891, allocations: 2.118 MB / 3.254 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001793/7.891, allocations: 91.48 kB / 3.254 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/7.891, allocations: 0 / 3.254 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.925e-05/7.891, allocations: 46.88 kB / 3.254 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/7.892, allocations: 124 kB / 3.254 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/7.893, allocations: 451.7 kB / 3.254 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/7.893, allocations: 0.7585 MB / 3.255 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001416/7.893, allocations: 47.89 kB / 3.255 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/7.893, allocations: 70.39 kB / 3.255 GB, free: 220.4 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/7.893, allocations: 2.25 kB / 3.255 GB, free: 220.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/7.938, allocations: 24.72 MB / 3.279 GB, free: 219.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/7.938, allocations: 190.5 kB / 3.279 GB, free: 219.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/10.64, allocations: 0 / 3.279 GB, free: 219.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)