Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.473/1.473, allocations: 249.3 MB / 261.8 MB, free: 5.898 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.001052/0.001052, allocations: 174.7 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.531/1.531, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008705/0.0008706, allocations: 86.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.534e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2504, allocations: 106.4 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.87/6.121, allocations: 2.18 GB / 3.072 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/6.121, allocations: 83.95 kB / 3.072 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.123/7.244, allocations: 288.5 MB / 3.354 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/7.244, allocations: 3.281 kB / 3.354 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.048e-05/7.244, allocations: 14.75 kB / 3.354 GB, free: 233.2 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001182/7.245, allocations: 0.6647 MB / 3.355 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/7.245, allocations: 13.34 kB / 3.355 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.286e-05/7.246, allocations: 58.36 kB / 3.355 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/7.246, allocations: 65.55 kB / 3.355 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/7.246, allocations: 321.5 kB / 3.355 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/7.246, allocations: 19.66 kB / 3.355 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/7.246, allocations: 31.22 kB / 3.355 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/7.247, allocations: 288.9 kB / 3.355 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/7.247, allocations: 0 / 3.355 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/7.247, allocations: 11.95 kB / 3.355 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/7.247, allocations: 7.875 kB / 3.355 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/7.247, allocations: 185.2 kB / 3.356 GB, free: 232 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/7.248, allocations: 1.133 MB / 3.357 GB, free: 231 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/7.249, allocations: 156.6 kB / 3.357 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/7.249, allocations: 89.73 kB / 3.357 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/7.249, allocations: 305.1 kB / 3.357 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/7.249, allocations: 38.16 kB / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/7.249, allocations: 0 / 3.357 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0004917/7.25, allocations: 218.4 kB / 3.357 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/7.25, allocations: 54.56 kB / 3.357 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/7.25, allocations: 264.8 kB / 3.358 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/7.25, allocations: 29.7 kB / 3.358 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/7.25, allocations: 170.3 kB / 3.358 GB, free: 230 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/7.25, allocations: 62.62 kB / 3.358 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-06/7.25, allocations: 4 kB / 3.358 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/7.25, allocations: 346.1 kB / 3.358 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/7.251, allocations: 57.02 kB / 3.358 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/7.251, allocations: 97.53 kB / 3.358 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/7.251, allocations: 66.12 kB / 3.359 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/7.251, allocations: 0 / 3.359 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002692/7.251, allocations: 210.6 kB / 3.359 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/7.251, allocations: 11.77 kB / 3.359 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/7.251, allocations: 8.016 kB / 3.359 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/7.251, allocations: 0 / 3.359 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/7.251, allocations: 45.84 kB / 3.359 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/7.251, allocations: 0 / 3.359 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/7.252, allocations: 37.42 kB / 3.359 GB, free: 229.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/7.252, allocations: 11.75 kB / 3.359 GB, free: 229.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.856e-05/7.252, allocations: 116.9 kB / 3.359 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/7.252, allocations: 25.69 kB / 3.359 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/7.252, allocations: 233.2 kB / 3.359 GB, free: 229 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/7.252, allocations: 0 / 3.359 GB, free: 229 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/7.252, allocations: 3.938 kB / 3.359 GB, free: 229 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/7.252, allocations: 11.2 kB / 3.359 GB, free: 229 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/7.253, allocations: 0.7109 MB / 3.36 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/7.253, allocations: 0 / 3.36 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/7.253, allocations: 43.34 kB / 3.36 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/7.253, allocations: 3.906 kB / 3.36 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/7.253, allocations: 7.906 kB / 3.36 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/7.253, allocations: 7.844 kB / 3.36 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/7.253, allocations: 0 / 3.36 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/7.254, allocations: 0.5229 MB / 3.36 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/7.254, allocations: 123.1 kB / 3.361 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/7.254, allocations: 3.969 kB / 3.361 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/7.254, allocations: 22.67 kB / 3.361 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/7.254, allocations: 18.83 kB / 3.361 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/7.254, allocations: 11.89 kB / 3.361 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001674/7.254, allocations: 209 kB / 3.361 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.61e-07/7.254, allocations: 0 / 3.361 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007559/7.255, allocations: 192.1 kB / 3.361 GB, free: 227.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002388/7.257, allocations: 2.625 MB / 3.364 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002941/7.258, allocations: 153.2 kB / 3.364 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/7.258, allocations: 0 / 3.364 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/7.258, allocations: 95 kB / 3.364 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/7.259, allocations: 152.5 kB / 3.364 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/7.26, allocations: 0.6064 MB / 3.365 GB, free: 225 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/7.26, allocations: 0.794 MB / 3.365 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001948/7.26, allocations: 55.89 kB / 3.365 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/7.26, allocations: 96.56 kB / 3.365 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.32e-07/7.26, allocations: 0 / 3.365 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04564/7.306, allocations: 29.9 MB / 3.395 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/7.306, allocations: 204.7 kB / 3.395 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/10.17, allocations: 0 / 3.395 GB, free: 197.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)