Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.828/1.828, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.001122/0.001122, allocations: 178.5 kB / 371.8 MB, free: 10.31 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.686/1.686, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009157/0.0009158, allocations: 89.16 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006427/0.000643, allocations: 12.41 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2523, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6083/0.8607, allocations: 140.3 MB / 1.116 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006226/0.8669, allocations: 5.26 MB / 1.122 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.8674, allocations: 9.312 kB / 1.122 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.8681, allocations: 195.7 kB / 1.122 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.8698, allocations: 0.5629 MB / 1.122 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.871, allocations: 358 kB / 1.123 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.8717, allocations: 425.9 kB / 1.123 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.8721, allocations: 222.3 kB / 1.123 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009377/0.873, allocations: 437.3 kB / 1.124 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.8733, allocations: 196.3 kB / 1.124 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.8733, allocations: 13 kB / 1.124 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.8738, allocations: 201.1 kB / 1.124 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.8739, allocations: 89.69 kB / 1.124 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.874, allocations: 87.14 kB / 1.124 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.8745, allocations: 311.4 kB / 1.125 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8745, allocations: 5.969 kB / 1.125 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8745, allocations: 1 kB / 1.125 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8745, allocations: 0 / 1.125 GB, free: 0.8789 MB / 0.6823 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.0008298/0.8753, allocations: 0.5602 MB / 1.125 GB, free: 16.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8754, allocations: 10.06 kB / 1.125 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.8757, allocations: 59.44 kB / 1.125 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.8761, allocations: 296.6 kB / 1.125 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.8762, allocations: 25 kB / 1.125 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.8762, allocations: 26.81 kB / 1.126 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.8768, allocations: 317.6 kB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.8768, allocations: 3.281 kB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.8768, allocations: 13.55 kB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.8768, allocations: 6.844 kB / 1.126 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.8773, allocations: 211 kB / 1.126 GB, free: 16.06 MB / 0.698 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.001543/0.8788, allocations: 1.539 MB / 1.128 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.8791, allocations: 127.8 kB / 1.128 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.8795, allocations: 139.3 kB / 1.128 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.8795, allocations: 30.56 kB / 1.128 GB, free: 14.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.8795, allocations: 3.219 kB / 1.128 GB, free: 14.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0007708/0.8803, allocations: 286.6 kB / 1.128 GB, free: 14.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.8804, allocations: 58.83 kB / 1.128 GB, free: 14.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.8806, allocations: 309.7 kB / 1.128 GB, free: 14.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.8807, allocations: 35.73 kB / 1.128 GB, free: 14.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.8808, allocations: 186.7 kB / 1.129 GB, free: 14.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.8809, allocations: 46.59 kB / 1.129 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.814e-06/0.8809, allocations: 3.062 kB / 1.129 GB, free: 14.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.881, allocations: 334.6 kB / 1.129 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.8812, allocations: 63.86 kB / 1.129 GB, free: 14.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.8814, allocations: 114.6 kB / 1.129 GB, free: 13.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.8815, allocations: 77.48 kB / 1.129 GB, free: 13.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8815, allocations: 3 kB / 1.129 GB, free: 13.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003859/0.8819, allocations: 234.4 kB / 1.13 GB, free: 13.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.882, allocations: 5.438 kB / 1.13 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.882, allocations: 1.938 kB / 1.13 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.882, allocations: 2.938 kB / 1.13 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.8822, allocations: 42.09 kB / 1.13 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8822, allocations: 2.719 kB / 1.13 GB, free: 13.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.8824, allocations: 36.47 kB / 1.13 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.8824, allocations: 9.703 kB / 1.13 GB, free: 13.88 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.8826, allocations: 150.6 kB / 1.13 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.8826, allocations: 32.39 kB / 1.13 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.8831, allocations: 217.4 kB / 1.13 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8831, allocations: 4.75 kB / 1.13 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.8831, allocations: 0 / 1.13 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8831, allocations: 0 / 1.13 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009437/0.884, allocations: 0.6951 MB / 1.131 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8841, allocations: 3.094 kB / 1.131 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.8842, allocations: 31.44 kB / 1.131 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8842, allocations: 2.469 kB / 1.131 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.8842, allocations: 10.61 kB / 1.131 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.8842, allocations: 2.812 kB / 1.131 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8842, allocations: 6.844 kB / 1.131 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004589/0.8847, allocations: 427.9 kB / 1.131 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.8848, allocations: 122 kB / 1.131 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.8849, allocations: 6.156 kB / 1.131 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.8851, allocations: 21.25 kB / 1.131 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.8851, allocations: 16.2 kB / 1.131 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.8851, allocations: 5.406 kB / 1.131 GB, free: 12.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001833/0.8853, allocations: 221.8 kB / 1.132 GB, free: 12.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.052e-06/0.8853, allocations: 4 kB / 1.132 GB, free: 12.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003682/0.8857, allocations: 78.81 kB / 1.132 GB, free: 12.76 MB / 0.698 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 (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.000353/0.8861, allocations: 162.9 kB / 1.132 GB, free: 12.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.8864, allocations: 162.7 kB / 1.132 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8865, allocations: 0 / 1.132 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.8866, allocations: 92.77 kB / 1.132 GB, free: 12.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007348/0.8874, allocations: 137.3 kB / 1.132 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009286/0.8883, allocations: 0.625 MB / 1.133 GB, free: 12.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.8887, allocations: 0.7929 MB / 1.134 GB, free: 11.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.8889, allocations: 60.52 kB / 1.134 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.889, allocations: 27.16 kB / 1.134 GB, free: 11.52 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.889, allocations: 0 / 1.134 GB, free: 11.52 MB / 0.698 GB Notification: Performance of Templates: time 0.008996/0.898, allocations: 4.713 MB / 1.138 GB, free: 9.438 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)