Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.563/0.563, allocations: 94.78 MB / 102.2 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001391/0.001391, allocations: 173.6 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.795/1.795, allocations: 170.6 MB / 319.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001694/0.001694, allocations: 105.3 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.277e-05, allocations: 4 kB / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2022, allocations: 61.52 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.41/1.612, allocations: 363.9 MB / 0.8541 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003505/1.612, allocations: 85.36 kB / 0.8542 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.784/2.396, allocations: 112.4 MB / 0.964 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.417e-06/2.396, allocations: 0 / 0.964 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.907e-05/2.397, allocations: 15.34 kB / 0.964 GB, free: 146.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001683/2.398, allocations: 0.6179 MB / 0.9646 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/2.398, allocations: 7.812 kB / 0.9646 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005042/2.399, allocations: 58.8 kB / 0.9646 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/2.4, allocations: 371.5 kB / 0.965 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.622e-05/2.4, allocations: 48.44 kB / 0.965 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/2.4, allocations: 20.53 kB / 0.9651 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004559/2.401, allocations: 188.2 kB / 0.9652 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/2.401, allocations: 290.5 kB / 0.9655 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/2.401, allocations: 0 / 0.9655 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/2.401, allocations: 0 / 0.9655 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/2.401, allocations: 10.97 kB / 0.9655 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/2.403, allocations: 1.314 MB / 0.9668 GB, free: 144 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/2.404, allocations: 111.8 kB / 0.9669 GB, free: 144 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/2.404, allocations: 42.33 kB / 0.967 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/2.404, allocations: 119 kB / 0.9671 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/2.404, allocations: 34.56 kB / 0.9671 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/2.404, allocations: 6.094 kB / 0.9671 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.000591/2.405, allocations: 199 kB / 0.9673 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/2.405, allocations: 110.8 kB / 0.9674 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/2.405, allocations: 269.3 kB / 0.9677 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/2.405, allocations: 29.7 kB / 0.9677 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/2.405, allocations: 238.7 kB / 0.9679 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/2.405, allocations: 49.73 kB / 0.968 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/2.405, allocations: 3.938 kB / 0.968 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001037/2.405, allocations: 342 kB / 0.9683 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/2.406, allocations: 57.86 kB / 0.9684 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/2.406, allocations: 157.1 kB / 0.9685 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/2.406, allocations: 134.4 kB / 0.9686 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/2.406, allocations: 3.844 kB / 0.9686 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005861/2.407, allocations: 305.1 kB / 0.9689 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/2.407, allocations: 3.938 kB / 0.9689 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/2.407, allocations: 3.938 kB / 0.9689 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/2.407, allocations: 10.66 kB / 0.9689 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/2.407, allocations: 60.84 kB / 0.969 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/2.407, allocations: 3.938 kB / 0.969 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/2.407, allocations: 47.31 kB / 0.9691 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/2.407, allocations: 15.72 kB / 0.9691 GB, free: 142.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001181/2.408, allocations: 108.9 kB / 0.9692 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/2.408, allocations: 34.88 kB / 0.9692 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/2.408, allocations: 222.2 kB / 0.9694 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/2.408, allocations: 0 / 0.9694 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/2.408, allocations: 3.938 kB / 0.9694 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/2.408, allocations: 5.484 kB / 0.9694 GB, free: 142 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008523/2.409, allocations: 0.5786 MB / 0.97 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/2.409, allocations: 0 / 0.97 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/2.409, allocations: 31.5 kB / 0.97 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/2.409, allocations: 8.031 kB / 0.97 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/2.409, allocations: 0 / 0.97 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/2.409, allocations: 3.812 kB / 0.97 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/2.409, allocations: 3.938 kB / 0.97 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/2.41, allocations: 411.6 kB / 0.9704 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/2.41, allocations: 107.4 kB / 0.9705 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/2.41, allocations: 3.531 kB / 0.9705 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/2.41, allocations: 19.89 kB / 0.9706 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/2.41, allocations: 14.31 kB / 0.9706 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/2.41, allocations: 13.77 kB / 0.9706 GB, free: 141 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000207/2.411, allocations: 206.3 kB / 0.9708 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.31e-07/2.411, allocations: 0 / 0.9708 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006342/2.411, allocations: 121.9 kB / 0.9709 GB, free: 140.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * 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.0008109/2.412, allocations: 273.5 kB / 0.9712 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003338/2.413, allocations: 156.7 kB / 0.9713 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/2.413, allocations: 4.312 kB / 0.9713 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/2.413, allocations: 53.34 kB / 0.9714 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/2.413, allocations: 114 kB / 0.9715 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/2.414, allocations: 0.4886 MB / 0.9719 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/2.415, allocations: 0.8079 MB / 0.9727 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002891/2.415, allocations: 64.59 kB / 0.9728 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/2.415, allocations: 26.31 kB / 0.9728 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/2.415, allocations: 3.938 kB / 0.9728 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.01237/2.428, allocations: 5.436 MB / 0.9781 GB, free: 136.7 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)