Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 197.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 62.66 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.285, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1718/0.4568, allocations: 165.3 MB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008234/0.4651, allocations: 6.536 MB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005667/0.4657, allocations: 11.94 kB / 1.235 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.4664, allocations: 135.1 kB / 1.235 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.4689, allocations: 0.7821 MB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009116/0.4698, allocations: 298.9 kB / 1.237 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.471, allocations: 1.021 MB / 1.238 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.4715, allocations: 230.1 kB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.4728, allocations: 0.5098 MB / 1.238 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.4733, allocations: 286.8 kB / 1.239 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.4734, allocations: 16 kB / 1.239 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000852/0.4743, allocations: 398.9 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.4744, allocations: 107.7 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.4747, allocations: 159.1 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007568/0.4754, allocations: 474.5 kB / 1.24 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4754, allocations: 0 / 1.24 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4755, allocations: 0 / 1.24 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.4755, allocations: 0 / 1.24 GB, free: 10.06 MB / 0.9981 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.001121/0.4766, allocations: 0.6155 MB / 1.24 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4767, allocations: 12.03 kB / 1.24 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003681/0.477, allocations: 63.53 kB / 1.24 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.4775, allocations: 313.2 kB / 1.241 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.4775, allocations: 16.56 kB / 1.241 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.4776, allocations: 28 kB / 1.241 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.4782, allocations: 315.7 kB / 1.241 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4782, allocations: 0 / 1.241 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.4782, allocations: 12 kB / 1.241 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4782, allocations: 8 kB / 1.241 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.4787, allocations: 197.5 kB / 1.241 GB, free: 8.383 MB / 0.9981 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.001851/0.4805, allocations: 1.542 MB / 1.243 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.4808, allocations: 122.5 kB / 1.243 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.481, allocations: 96.8 kB / 1.243 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007425/0.4818, allocations: 307.5 kB / 1.243 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4818, allocations: 30.56 kB / 1.243 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.4818, allocations: 0 / 1.243 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008481/0.4827, allocations: 267.5 kB / 1.243 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.4828, allocations: 55.39 kB / 1.243 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.4831, allocations: 320.5 kB / 1.244 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.4832, allocations: 25.7 kB / 1.244 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.4833, allocations: 184.1 kB / 1.244 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.4834, allocations: 47.31 kB / 1.244 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/0.4835, allocations: 33.7 kB / 1.244 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4837, allocations: 338.8 kB / 1.244 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.4838, allocations: 59.95 kB / 1.244 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.4841, allocations: 117 kB / 1.245 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.4844, allocations: 180.9 kB / 1.245 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4844, allocations: 3.938 kB / 1.245 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004506/0.4849, allocations: 213.1 kB / 1.245 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4849, allocations: 5.25 kB / 1.245 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4849, allocations: 4.156 kB / 1.245 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.485, allocations: 4 kB / 1.245 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.4851, allocations: 31.97 kB / 1.245 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4852, allocations: 7.938 kB / 1.245 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.4854, allocations: 31.73 kB / 1.245 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.4854, allocations: 8 kB / 1.245 GB, free: 4.09 MB / 0.9981 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.0001503/0.4856, allocations: 161.6 kB / 1.245 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.4856, allocations: 27.7 kB / 1.245 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.4861, allocations: 208.3 kB / 1.245 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4861, allocations: 0 / 1.245 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4861, allocations: 0 / 1.245 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4861, allocations: 0 / 1.245 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.4872, allocations: 0.6835 MB / 1.246 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4872, allocations: 3.984 kB / 1.246 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.4873, allocations: 32.19 kB / 1.246 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4874, allocations: 7.938 kB / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.4874, allocations: 8 kB / 1.246 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.4874, allocations: 12 kB / 1.246 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4874, allocations: 0 / 1.246 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.4879, allocations: 333.1 kB / 1.246 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.488, allocations: 116.7 kB / 1.247 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.4881, allocations: 8 kB / 1.247 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4883, allocations: 23.92 kB / 1.247 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.4884, allocations: 11.98 kB / 1.247 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.4884, allocations: 4 kB / 1.247 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002442/0.4887, allocations: 227 kB / 1.247 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4887, allocations: 0 / 1.247 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004091/0.4891, allocations: 75.84 kB / 1.247 GB, free: 2.02 MB / 0.9981 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.0004061/0.4895, allocations: 156.6 kB / 1.247 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.4899, allocations: 162.5 kB / 1.247 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4899, allocations: 0 / 1.247 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.4901, allocations: 83.83 kB / 1.247 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.491, allocations: 153.6 kB / 1.247 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.492, allocations: 0.6243 MB / 1.248 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5603/1.052, allocations: 0.7836 MB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000504/1.053, allocations: 54.11 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/1.053, allocations: 22.47 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/1.053, allocations: 0.875 kB / 1.249 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.01482/1.068, allocations: 4.869 MB / 1.254 GB, free: 186.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)