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.433/1.433, allocations: 249.5 MB / 257 MB, free: 6.926 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.00111/0.00111, allocations: 187.2 kB / 316.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001/0.001, allocations: 90.73 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.944e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.832/6.037, allocations: 2.18 GB / 3.066 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/6.037, allocations: 86.67 kB / 3.066 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9861/7.023, allocations: 284.9 MB / 3.344 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.754e-06/7.023, allocations: 0 / 3.344 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.399e-05/7.023, allocations: 11.16 kB / 3.344 GB, free: 240.4 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.0012/7.025, allocations: 0.6602 MB / 3.345 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/7.025, allocations: 6.938 kB / 3.345 GB, free: 239.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/7.025, allocations: 69.86 kB / 3.345 GB, free: 239.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/7.025, allocations: 328.3 kB / 3.345 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/7.025, allocations: 14.69 kB / 3.345 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/7.025, allocations: 22.09 kB / 3.345 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002864/7.026, allocations: 160.8 kB / 3.345 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/7.026, allocations: 246.9 kB / 3.346 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/7.026, allocations: 3.953 kB / 3.346 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/7.026, allocations: 3.938 kB / 3.346 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/7.026, allocations: 6.312 kB / 3.346 GB, free: 239.3 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.001124/7.027, allocations: 1.055 MB / 3.347 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/7.028, allocations: 154.6 kB / 3.347 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/7.028, allocations: 78.84 kB / 3.347 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/7.028, allocations: 302.3 kB / 3.347 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/7.028, allocations: 38.52 kB / 3.347 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/7.028, allocations: 0 / 3.347 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0006552/7.029, allocations: 251.9 kB / 3.347 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/7.029, allocations: 54.81 kB / 3.347 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/7.029, allocations: 174.7 kB / 3.348 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/7.029, allocations: 29.64 kB / 3.348 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/7.029, allocations: 187.4 kB / 3.348 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/7.029, allocations: 58.92 kB / 3.348 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/7.029, allocations: 0 / 3.348 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.32e-05/7.029, allocations: 338.6 kB / 3.348 GB, free: 237 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/7.029, allocations: 51.73 kB / 3.348 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/7.03, allocations: 90.69 kB / 3.348 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/7.03, allocations: 118.3 kB / 3.348 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/7.03, allocations: 4 kB / 3.348 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000416/7.03, allocations: 240.4 kB / 3.349 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/7.03, allocations: 7 kB / 3.349 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/7.03, allocations: 0 / 3.349 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/7.03, allocations: 0 / 3.349 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/7.03, allocations: 39.73 kB / 3.349 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/7.031, allocations: 7.703 kB / 3.349 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/7.031, allocations: 33 kB / 3.349 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/7.031, allocations: 7.531 kB / 3.349 GB, free: 236.7 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 8.04e-05/7.031, allocations: 104.9 kB / 3.349 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003959/7.031, allocations: 232.2 kB / 3.349 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/7.031, allocations: 26.92 kB / 3.349 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/7.032, allocations: 260.2 kB / 3.349 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/7.032, allocations: 64 / 3.349 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/7.032, allocations: 5.75 kB / 3.349 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/7.032, allocations: 0 / 3.349 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009802/7.033, allocations: 0.7083 MB / 3.35 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/7.033, allocations: 3.875 kB / 3.35 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/7.033, allocations: 42.75 kB / 3.35 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/7.033, allocations: 3.469 kB / 3.35 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/7.033, allocations: 3.344 kB / 3.35 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/7.033, allocations: 11.23 kB / 3.35 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/7.033, allocations: 0 / 3.35 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/7.034, allocations: 0.5383 MB / 3.351 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/7.034, allocations: 120.5 kB / 3.351 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/7.034, allocations: 3.953 kB / 3.351 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/7.034, allocations: 29.39 kB / 3.351 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/7.034, allocations: 18.72 kB / 3.351 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/7.034, allocations: 10.02 kB / 3.351 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.792e-05/7.034, allocations: 145.1 kB / 3.351 GB, free: 235 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/7.034, allocations: 0 / 3.351 GB, free: 235 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006017/7.035, allocations: 151.6 kB / 3.351 GB, free: 234.9 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.002647/7.037, allocations: 2.826 MB / 3.354 GB, free: 232.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002866/7.038, allocations: 140.1 kB / 3.354 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/7.038, allocations: 3.938 kB / 3.354 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/7.038, allocations: 88.31 kB / 3.354 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/7.038, allocations: 71.25 kB / 3.354 GB, free: 232.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/7.04, allocations: 0.5932 MB / 3.355 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/7.04, allocations: 0.7923 MB / 3.355 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001652/7.04, allocations: 53.61 kB / 3.356 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/7.04, allocations: 93.89 kB / 3.356 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/7.04, allocations: 0 / 3.356 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/7.076, allocations: 15.04 MB / 3.37 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/7.076, allocations: 176.1 kB / 3.37 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/9.191, allocations: 0 / 3.37 GB, free: 221.6 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)