Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.001521, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.56/1.56, allocations: 251.7 MB / 0.5092 GB, free: 3.215 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 67.91 kB / 0.6223 GB, free: 1.57 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5209, allocations: 104.7 MB / 0.7245 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004361/0.5253, allocations: 2.283 MB / 0.7267 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.5268, allocations: 0.9578 MB / 0.7277 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.5269, allocations: 4 kB / 0.7277 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.5274, allocations: 189.1 kB / 0.7279 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.5276, allocations: 75.42 kB / 0.7279 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.528, allocations: 107.7 kB / 0.728 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.5284, allocations: 227 kB / 0.7283 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.5287, allocations: 85.69 kB / 0.7283 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.5288, allocations: 79.59 kB / 0.7284 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.529, allocations: 111.3 kB / 0.7285 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.529, allocations: 16 kB / 0.7285 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.5294, allocations: 155.8 kB / 0.7287 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.5296, allocations: 203.4 kB / 0.7289 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.5299, allocations: 266 kB / 0.7291 GB, free: 8.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.5307, allocations: 0.7198 MB / 0.7298 GB, free: 7.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.5307, allocations: 4 kB / 0.7298 GB, free: 7.531 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5307, allocations: 0 / 0.7298 GB, free: 7.531 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.5307, allocations: 0 / 0.7298 GB, free: 7.531 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001339/0.5321, allocations: 0.9631 MB / 0.7308 GB, free: 6.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5321, allocations: 8.031 kB / 0.7308 GB, free: 6.504 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005595/0.5327, allocations: 119.8 kB / 0.7309 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007573/0.5334, allocations: 0.5934 MB / 0.7315 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.5335, allocations: 8.375 kB / 0.7315 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.5335, allocations: 12.38 kB / 0.7315 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.5339, allocations: 194.1 kB / 0.7317 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.534, allocations: 192 / 0.7317 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.534, allocations: 11.94 kB / 0.7317 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.534, allocations: 3.938 kB / 0.7317 GB, free: 5.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006235/0.5346, allocations: 227.9 kB / 0.7319 GB, free: 5.301 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.5363, allocations: 0.9216 MB / 0.7328 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009135/0.5373, allocations: 310.5 kB / 0.7331 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.5376, allocations: 112.9 kB / 0.7332 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009447/0.5385, allocations: 236.9 kB / 0.7334 GB, free: 3.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.5386, allocations: 38.56 kB / 0.7335 GB, free: 3.605 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/0.5386, allocations: 3.938 kB / 0.7335 GB, free: 3.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.001076/0.5397, allocations: 400.6 kB / 0.7339 GB, free: 3.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.5397, allocations: 55.34 kB / 0.7339 GB, free: 3.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.5414, allocations: 1.001 MB / 0.7349 GB, free: 2.121 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.5415, allocations: 29.7 kB / 0.7349 GB, free: 2.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.5419, allocations: 344 kB / 0.7353 GB, free: 1.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.5419, allocations: 27.56 kB / 0.7353 GB, free: 1.719 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.542, allocations: 33.55 kB / 0.7353 GB, free: 1.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5422, allocations: 310 kB / 0.7356 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.5425, allocations: 99.94 kB / 0.7357 GB, free: 1.273 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.5428, allocations: 114.5 kB / 0.7358 GB, free: 1.152 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.5434, allocations: 226.4 kB / 0.736 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5434, allocations: 0 / 0.736 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007535/0.5441, allocations: 313 kB / 0.7363 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.5442, allocations: 12.05 kB / 0.7363 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5442, allocations: 4 kB / 0.7363 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.5442, allocations: 0 / 0.7363 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.5444, allocations: 27.92 kB / 0.7364 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5445, allocations: 0 / 0.7364 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.5447, allocations: 15.83 kB / 0.7364 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.5447, allocations: 8 kB / 0.7364 GB, free: 0.543 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0003579/0.5451, allocations: 245.8 kB / 0.7366 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.5452, allocations: 78.98 kB / 0.7367 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008327/0.5461, allocations: 324.5 kB / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5461, allocations: 4 kB / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5461, allocations: 0 / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5461, allocations: 0 / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.5468, allocations: 0.5324 MB / 0.7375 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5468, allocations: 3.938 kB / 0.7375 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.547, allocations: 27.92 kB / 0.7376 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.547, allocations: 0 / 0.7376 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5471, allocations: 0 / 0.7376 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5471, allocations: 0 / 0.7376 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5471, allocations: 3.938 kB / 0.7376 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/0.5478, allocations: 406.5 kB / 0.738 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.5481, allocations: 188 kB / 0.7381 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.62e-05/0.5482, allocations: 0 / 0.7381 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.5484, allocations: 11.98 kB / 0.7382 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.5485, allocations: 4 kB / 0.7382 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.5485, allocations: 11.98 kB / 0.7382 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001244/0.5497, allocations: 0.7179 MB / 0.7389 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5498, allocations: 0 / 0.7389 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005255/0.5503, allocations: 68 kB / 0.7389 GB, free: 13.85 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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.0002602/0.5506, allocations: 111.2 kB / 0.739 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006779/0.5512, allocations: 227.9 kB / 0.7393 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5513, allocations: 0 / 0.7393 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.5515, allocations: 104 kB / 0.7394 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006016/0.5522, allocations: 59.22 kB / 0.7394 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.5545, allocations: 1.174 MB / 0.7406 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.5552, allocations: 0.9449 MB / 0.7415 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003417/0.5556, allocations: 85.31 kB / 0.7416 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.5557, allocations: 31.44 kB / 0.7416 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.5557, allocations: 0 / 0.7416 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.01315/0.5689, allocations: 4.396 MB / 0.7459 GB, free: 6.664 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)