Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.403/2.403, allocations: 284.7 MB / 297.2 MB, free: 6.375 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.001604/0.001604, allocations: 172.9 kB / 365.6 MB, free: 2.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.1 MB / 0.624 GB, free: 8.242 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.001088/0.001087, allocations: 98.44 kB / 0.7371 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.034e-05/4.052e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8284/0.8285, allocations: 115.2 MB / 0.9699 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.909/6.737, allocations: 2.061 GB / 3.031 GB, free: 36.04 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/6.738, allocations: 80.64 kB / 3.031 GB, free: 36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.337/8.074, allocations: 208.4 MB / 3.234 GB, free: 218 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.073e-06/8.074, allocations: 0 / 3.234 GB, free: 218 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.836e-05/8.074, allocations: 7.984 kB / 3.234 GB, free: 218 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.001107/8.075, allocations: 0.564 MB / 3.235 GB, free: 217.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/8.075, allocations: 12.03 kB / 3.235 GB, free: 217.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.065e-05/8.075, allocations: 46.55 kB / 3.235 GB, free: 217.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/8.076, allocations: 28.92 kB / 3.235 GB, free: 217.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/8.076, allocations: 288.3 kB / 3.235 GB, free: 216.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/8.076, allocations: 12 kB / 3.235 GB, free: 216.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/8.076, allocations: 28 kB / 3.235 GB, free: 216.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/8.077, allocations: 234.3 kB / 3.235 GB, free: 216.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/8.077, allocations: 0 / 3.235 GB, free: 216.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/8.077, allocations: 19.98 kB / 3.235 GB, free: 216.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/8.077, allocations: 4 kB / 3.235 GB, free: 216.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/8.077, allocations: 120.4 kB / 3.235 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/8.078, allocations: 1.353 MB / 3.237 GB, free: 215.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/8.079, allocations: 163.6 kB / 3.237 GB, free: 214.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/8.079, allocations: 73.33 kB / 3.237 GB, free: 214.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/8.079, allocations: 125 kB / 3.237 GB, free: 214.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/8.079, allocations: 34.5 kB / 3.237 GB, free: 214.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.525e-06/8.079, allocations: 0 / 3.237 GB, free: 214.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004476/8.08, allocations: 137.2 kB / 3.237 GB, free: 214.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/8.08, allocations: 183.9 kB / 3.237 GB, free: 214.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/8.08, allocations: 259.4 kB / 3.238 GB, free: 213.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/8.08, allocations: 25.7 kB / 3.238 GB, free: 213.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/8.08, allocations: 164.1 kB / 3.238 GB, free: 213.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/8.08, allocations: 31.55 kB / 3.238 GB, free: 213.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-06/8.08, allocations: 4.156 kB / 3.238 GB, free: 213.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.668e-05/8.08, allocations: 334.8 kB / 3.238 GB, free: 213.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/8.081, allocations: 28 kB / 3.238 GB, free: 213.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/8.081, allocations: 112.2 kB / 3.238 GB, free: 213.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/8.081, allocations: 51.92 kB / 3.238 GB, free: 213.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/8.081, allocations: 0 / 3.238 GB, free: 213.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003167/8.081, allocations: 157.2 kB / 3.239 GB, free: 213 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/8.081, allocations: 5.094 kB / 3.239 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/8.081, allocations: 4 kB / 3.239 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/8.081, allocations: 7.953 kB / 3.239 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/8.081, allocations: 35.91 kB / 3.239 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/8.082, allocations: 4 kB / 3.239 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/8.082, allocations: 39.95 kB / 3.239 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/8.082, allocations: 8 kB / 3.239 GB, free: 212.9 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 7.396e-05/8.082, allocations: 113.6 kB / 3.239 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/8.082, allocations: 27.72 kB / 3.239 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/8.082, allocations: 99.22 kB / 3.239 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/8.082, allocations: 4.062 kB / 3.239 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/8.082, allocations: 7.953 kB / 3.239 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/8.082, allocations: 0 / 3.239 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008953/8.083, allocations: 0.7729 MB / 3.24 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/8.083, allocations: 11.89 kB / 3.24 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/8.084, allocations: 23.98 kB / 3.24 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/8.084, allocations: 4.156 kB / 3.24 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/8.084, allocations: 11.94 kB / 3.24 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/8.084, allocations: 3.938 kB / 3.24 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/8.084, allocations: 4 kB / 3.24 GB, free: 211.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/8.084, allocations: 340 kB / 3.24 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/8.084, allocations: 112.8 kB / 3.24 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/8.084, allocations: 7.953 kB / 3.24 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/8.085, allocations: 16.05 kB / 3.24 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/8.085, allocations: 11.98 kB / 3.24 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/8.085, allocations: 4 kB / 3.24 GB, free: 211.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002433/8.085, allocations: 203.1 kB / 3.24 GB, free: 211 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/8.085, allocations: 0 / 3.24 GB, free: 211 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007918/8.086, allocations: 151.9 kB / 3.24 GB, free: 210.8 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.002111/8.088, allocations: 2.108 MB / 3.243 GB, free: 208.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003257/8.088, allocations: 83.86 kB / 3.243 GB, free: 208.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/8.088, allocations: 4 kB / 3.243 GB, free: 208.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/8.088, allocations: 44.67 kB / 3.243 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/8.089, allocations: 129 kB / 3.243 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/8.091, allocations: 441 kB / 3.243 GB, free: 207.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/8.091, allocations: 0.756 MB / 3.244 GB, free: 207.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002287/8.091, allocations: 54.02 kB / 3.244 GB, free: 207.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/8.091, allocations: 71.42 kB / 3.244 GB, free: 207 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/8.091, allocations: 0 / 3.244 GB, free: 207 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/8.148, allocations: 24.74 MB / 3.268 GB, free: 182.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/8.148, allocations: 187.6 kB / 3.268 GB, free: 182.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.481/11.63, allocations: 0 / 3.268 GB, free: 182.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)