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.001413/0.001413, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001887/0.001887, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.4 MB / 222.1 MB, free: 5.492 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.668/1.668, allocations: 252 MB / 0.5102 GB, free: 4.781 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.0004771/0.0004772, allocations: 12 kB / 0.6243 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5323, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002613/0.535, allocations: 1.918 MB / 0.73 GB, free: 9.449 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.5362, allocations: 0.8645 MB / 0.7308 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.5363, allocations: 11.94 kB / 0.7309 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.5368, allocations: 167 kB / 0.731 GB, free: 8.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/0.5369, allocations: 55.62 kB / 0.7311 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.5372, allocations: 87.83 kB / 0.7312 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.5374, allocations: 191.1 kB / 0.7313 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.5376, allocations: 73.62 kB / 0.7314 GB, free: 8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.5377, allocations: 71.59 kB / 0.7315 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.5378, allocations: 91.45 kB / 0.7316 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.5379, allocations: 4 kB / 0.7316 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.5381, allocations: 135.8 kB / 0.7317 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.5383, allocations: 203.4 kB / 0.7319 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.5384, allocations: 121.3 kB / 0.732 GB, free: 7.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.5389, allocations: 0.5435 MB / 0.7325 GB, free: 6.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5389, allocations: 4 kB / 0.7325 GB, free: 6.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5389, allocations: 4 kB / 0.7325 GB, free: 6.828 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5389, allocations: 0 / 0.7325 GB, free: 6.828 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.001058/0.54, allocations: 0.8817 MB / 0.7334 GB, free: 5.895 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5401, allocations: 8.031 kB / 0.7334 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.5405, allocations: 119 kB / 0.7335 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.5413, allocations: 0.5578 MB / 0.7341 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.5413, allocations: 8 kB / 0.7341 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.5413, allocations: 12 kB / 0.7341 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.5417, allocations: 194.3 kB / 0.7343 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5417, allocations: 0 / 0.7343 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.5417, allocations: 4 kB / 0.7343 GB, free: 4.953 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.5418, allocations: 4 kB / 0.7343 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.5422, allocations: 232.6 kB / 0.7345 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.5433, allocations: 0.9216 MB / 0.7354 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.5439, allocations: 310.6 kB / 0.7357 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.5441, allocations: 112.8 kB / 0.7358 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008778/0.545, allocations: 396.7 kB / 0.7362 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.545, allocations: 42.48 kB / 0.7362 GB, free: 2.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.545, allocations: 0 / 0.7362 GB, free: 2.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.00073/0.5458, allocations: 396.6 kB / 0.7366 GB, free: 2.473 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.5458, allocations: 55.41 kB / 0.7367 GB, free: 2.406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.547, allocations: 0.9934 MB / 0.7376 GB, free: 1.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.547, allocations: 25.7 kB / 0.7377 GB, free: 1.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.5473, allocations: 348 kB / 0.738 GB, free: 1.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.5473, allocations: 31.92 kB / 0.738 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.5473, allocations: 0 / 0.738 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5475, allocations: 310 kB / 0.7383 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.5477, allocations: 99.95 kB / 0.7384 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.5479, allocations: 126.4 kB / 0.7385 GB, free: 464 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.548, allocations: 104 kB / 0.7386 GB, free: 360 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5481, allocations: 0 / 0.7386 GB, free: 360 kB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004725/0.5485, allocations: 312.5 kB / 0.7389 GB, free: 40 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5486, allocations: 4 kB / 0.7389 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.5486, allocations: 4 kB / 0.7389 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5486, allocations: 4.062 kB / 0.7389 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.5488, allocations: 27.97 kB / 0.739 GB, free: 0 / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5488, allocations: 0 / 0.739 GB, free: 0 / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.549, allocations: 15.86 kB / 0.739 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.549, allocations: 15.86 kB / 0.739 GB, free: 15.97 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.5492, allocations: 241.8 kB / 0.7392 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.5493, allocations: 75.06 kB / 0.7393 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.5499, allocations: 336.4 kB / 0.7396 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.5499, allocations: 0 / 0.7396 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5499, allocations: 4 kB / 0.7396 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5499, allocations: 0 / 0.7396 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.5505, allocations: 0.5285 MB / 0.7401 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5505, allocations: 0 / 0.7401 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.5506, allocations: 23.98 kB / 0.7402 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5506, allocations: 8 kB / 0.7402 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5506, allocations: 0 / 0.7402 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5506, allocations: 0 / 0.7402 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5506, allocations: 0 / 0.7402 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.5512, allocations: 414.6 kB / 0.7406 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.5513, allocations: 176.1 kB / 0.7407 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.5514, allocations: 8 kB / 0.7407 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.5516, allocations: 7.984 kB / 0.7407 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.5516, allocations: 4 kB / 0.7407 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.5516, allocations: 3.984 kB / 0.7407 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008174/0.5525, allocations: 0.7098 MB / 0.7414 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.463e-06/0.5525, allocations: 4 kB / 0.7414 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000346/0.5528, allocations: 75.78 kB / 0.7415 GB, free: 13.28 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 (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.0002159/0.553, allocations: 119.2 kB / 0.7416 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.5535, allocations: 203.8 kB / 0.7418 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5535, allocations: 8.125 kB / 0.7418 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.5537, allocations: 107.9 kB / 0.7419 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.5541, allocations: 53.03 kB / 0.742 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.5557, allocations: 1.291 MB / 0.7432 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.5563, allocations: 0.9417 MB / 0.7442 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.5565, allocations: 73.33 kB / 0.7442 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.5566, allocations: 39.44 kB / 0.7443 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.5566, allocations: 480 / 0.7443 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.009103/0.5657, allocations: 4.073 MB / 0.7483 GB, free: 6.328 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: