Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 292.3 MB / 308.1 MB, free: 4.242 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.001274/0.001274, allocations: 192.3 kB / 376.9 MB, free: 1.777 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.468/1.468, allocations: 205.1 MB / 0.6354 GB, free: 9.785 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.0009944/0.0009943, allocations: 93.84 kB / 0.748 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 59.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2624, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6453/0.9077, allocations: 165.3 MB / 1.144 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007456/0.9152, allocations: 6.546 MB / 1.15 GB, free: 9.246 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/0.9158, allocations: 14.22 kB / 1.15 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.9164, allocations: 133.8 kB / 1.15 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.9186, allocations: 0.7895 MB / 1.151 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008604/0.9194, allocations: 285.1 kB / 1.151 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0009542/0.9204, allocations: 1.026 MB / 1.152 GB, free: 8.246 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.9208, allocations: 234.8 kB / 1.152 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.9218, allocations: 0.5129 MB / 1.153 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.9222, allocations: 283.6 kB / 1.153 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.9222, allocations: 16 kB / 1.153 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.9229, allocations: 400.7 kB / 1.154 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.923, allocations: 99.2 kB / 1.154 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.9232, allocations: 158.7 kB / 1.154 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.9237, allocations: 478.1 kB / 1.154 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9238, allocations: 3.125 kB / 1.154 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9238, allocations: 0 / 1.154 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.9238, allocations: 0 / 1.154 GB, free: 7.379 MB / 0.7605 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.0008668/0.9247, allocations: 0.6148 MB / 1.155 GB, free: 6.863 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.9247, allocations: 9.719 kB / 1.155 GB, free: 6.863 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.925, allocations: 61.98 kB / 1.155 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.9254, allocations: 313.4 kB / 1.155 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.9254, allocations: 23.28 kB / 1.155 GB, free: 6.566 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.9255, allocations: 24.09 kB / 1.155 GB, free: 6.559 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.926, allocations: 313.7 kB / 1.156 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.926, allocations: 0 / 1.156 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.926, allocations: 15.09 kB / 1.156 GB, free: 6.379 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.926, allocations: 5.969 kB / 1.156 GB, free: 6.379 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.9264, allocations: 208 kB / 1.156 GB, free: 6.316 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001447/0.9279, allocations: 1.536 MB / 1.157 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.9281, allocations: 121 kB / 1.157 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.9283, allocations: 92.03 kB / 1.158 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006184/0.9289, allocations: 304.4 kB / 1.158 GB, free: 4.625 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.929, allocations: 30.56 kB / 1.158 GB, free: 4.586 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.929, allocations: 4 kB / 1.158 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.0007028/0.9297, allocations: 275.8 kB / 1.158 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.9297, allocations: 54.81 kB / 1.158 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.93, allocations: 314 kB / 1.158 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.93, allocations: 29.05 kB / 1.159 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.9302, allocations: 194.3 kB / 1.159 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.9302, allocations: 44.77 kB / 1.159 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.9303, allocations: 34.66 kB / 1.159 GB, free: 3.988 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.9304, allocations: 336.2 kB / 1.159 GB, free: 3.668 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.9306, allocations: 58.98 kB / 1.159 GB, free: 3.652 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.9307, allocations: 113.2 kB / 1.159 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.9311, allocations: 168 kB / 1.159 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9311, allocations: 4 kB / 1.159 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004076/0.9315, allocations: 225.6 kB / 1.16 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.9315, allocations: 6.719 kB / 1.16 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.9315, allocations: 0 / 1.16 GB, free: 3.383 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.9316, allocations: 8.5 kB / 1.16 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.9317, allocations: 36 kB / 1.16 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9318, allocations: 7.312 kB / 1.16 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.9319, allocations: 32.28 kB / 1.16 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.932, allocations: 14.31 kB / 1.16 GB, free: 3.352 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.9321, allocations: 152.2 kB / 1.16 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.9322, allocations: 24.19 kB / 1.16 GB, free: 3.203 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.9326, allocations: 211.4 kB / 1.16 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.9326, allocations: 0 / 1.16 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.9326, allocations: 0.6875 kB / 1.16 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.9327, allocations: 0 / 1.16 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009993/0.9337, allocations: 0.6901 MB / 1.161 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.9337, allocations: 3.719 kB / 1.161 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.9338, allocations: 26.39 kB / 1.161 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.9338, allocations: 3.875 kB / 1.161 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.9338, allocations: 4.094 kB / 1.161 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.9339, allocations: 15.38 kB / 1.161 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9339, allocations: 0 / 1.161 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008498/0.9347, allocations: 0.9955 MB / 1.162 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.9349, allocations: 121 kB / 1.162 GB, free: 1.613 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.9349, allocations: 8.172 kB / 1.162 GB, free: 1.613 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.9351, allocations: 21.03 kB / 1.162 GB, free: 1.605 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.9351, allocations: 13.91 kB / 1.162 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.9352, allocations: 6.5 kB / 1.162 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001951/0.9354, allocations: 223.5 kB / 1.162 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9354, allocations: 0 / 1.162 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004875/0.9358, allocations: 83.09 kB / 1.162 GB, free: 1.461 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003652/0.9362, allocations: 143.4 kB / 1.162 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003866/0.9366, allocations: 166 kB / 1.163 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9366, allocations: 0 / 1.163 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.9368, allocations: 82.44 kB / 1.163 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.9376, allocations: 147.4 kB / 1.163 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009848/0.9386, allocations: 0.7817 MB / 1.164 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.939, allocations: 0.7912 MB / 1.164 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.9392, allocations: 62.73 kB / 1.164 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.9393, allocations: 23.44 kB / 1.164 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.9393, allocations: 1.875 kB / 1.164 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.00859/0.9479, allocations: 4.968 MB / 1.169 GB, free: 15.65 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)