Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 255.9 MB / 271.2 MB, free: 8.898 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009865/0.0009873, allocations: 181.9 kB / 330.8 MB, free: 472 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 225.7 MB / 0.6016 GB, free: 15.89 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 103.5 kB / 0.709 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 9.25 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2097, allocations: 109.2 MB / 0.9328 GB, free: 24.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002112/0.2119, allocations: 1.9 MB / 0.9346 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.2133, allocations: 1.205 MB / 0.9358 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2135, allocations: 4 kB / 0.9358 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.2141, allocations: 191.5 kB / 0.936 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.2143, allocations: 59.62 kB / 0.936 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.2146, allocations: 91.77 kB / 0.9361 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.2148, allocations: 211.2 kB / 0.9363 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.215, allocations: 89.61 kB / 0.9364 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.2152, allocations: 79.47 kB / 0.9365 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2153, allocations: 87.44 kB / 0.9366 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.2153, allocations: 8 kB / 0.9366 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.2156, allocations: 139.8 kB / 0.9367 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.2158, allocations: 199.3 kB / 0.9369 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.216, allocations: 271.8 kB / 0.9372 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.2165, allocations: 0.6768 MB / 0.9378 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2165, allocations: 0 / 0.9378 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2165, allocations: 4 kB / 0.9378 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.2166, allocations: 4 kB / 0.9378 GB, free: 18.8 MB / 0.5886 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.001064/0.2176, allocations: 0.8701 MB / 0.9387 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.2177, allocations: 17.11 kB / 0.9387 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005589/0.2182, allocations: 123.9 kB / 0.9388 GB, free: 17.74 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.2191, allocations: 0.5895 MB / 0.9394 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2191, allocations: 8.375 kB / 0.9394 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.2191, allocations: 12.31 kB / 0.9394 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.2195, allocations: 198.6 kB / 0.9396 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2195, allocations: 192 / 0.9396 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.2196, allocations: 7.938 kB / 0.9396 GB, free: 16.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2196, allocations: 4 kB / 0.9396 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.22, allocations: 227.8 kB / 0.9398 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.2211, allocations: 0.9138 MB / 0.9407 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.2216, allocations: 322.5 kB / 0.941 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.2218, allocations: 108.8 kB / 0.9411 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008461/0.2227, allocations: 396.7 kB / 0.9415 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.2227, allocations: 42.55 kB / 0.9415 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.2227, allocations: 0 / 0.9415 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0007056/0.2234, allocations: 396.6 kB / 0.9419 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.2235, allocations: 55.78 kB / 0.942 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009461/0.2244, allocations: 0.9896 MB / 0.9429 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2244, allocations: 25.7 kB / 0.943 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.2247, allocations: 351.9 kB / 0.9433 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.2247, allocations: 39.47 kB / 0.9433 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.2247, allocations: 0 / 0.9433 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.2248, allocations: 310 kB / 0.9436 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2249, allocations: 99.95 kB / 0.9437 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.2251, allocations: 118.5 kB / 0.9438 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.2254, allocations: 218.4 kB / 0.9441 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2254, allocations: 0 / 0.9441 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004291/0.2259, allocations: 320.5 kB / 0.9444 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2259, allocations: 7.906 kB / 0.9444 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2259, allocations: 4 kB / 0.9444 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2259, allocations: 0 / 0.9444 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2261, allocations: 31.91 kB / 0.9444 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.2261, allocations: 0 / 0.9444 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.2263, allocations: 4 kB / 0.9444 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2263, allocations: 11.94 kB / 0.9444 GB, free: 11.79 MB / 0.5886 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.0002079/0.2265, allocations: 250.5 kB / 0.9447 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.2266, allocations: 75 kB / 0.9447 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.2271, allocations: 336.3 kB / 0.945 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2271, allocations: 0 / 0.945 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2271, allocations: 4 kB / 0.9451 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2272, allocations: 192 / 0.9451 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.2276, allocations: 0.5207 MB / 0.9456 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2276, allocations: 11.88 kB / 0.9456 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.2277, allocations: 23.97 kB / 0.9456 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.2277, allocations: 4 kB / 0.9456 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2277, allocations: 3.938 kB / 0.9456 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2277, allocations: 0 / 0.9456 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2277, allocations: 4 kB / 0.9456 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.2282, allocations: 402.5 kB / 0.946 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.2283, allocations: 184 kB / 0.9462 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.2284, allocations: 4 kB / 0.9462 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2286, allocations: 8 kB / 0.9462 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.2286, allocations: 7.984 kB / 0.9462 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.2286, allocations: 4 kB / 0.9462 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006535/0.2293, allocations: 0.7137 MB / 0.9469 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2293, allocations: 0 / 0.9469 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003154/0.2296, allocations: 71.91 kB / 0.947 GB, free: 9.09 MB / 0.5886 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.0001943/0.2298, allocations: 111.7 kB / 0.9471 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000415/0.2302, allocations: 219.9 kB / 0.9473 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2302, allocations: 0 / 0.9473 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.2304, allocations: 111.9 kB / 0.9474 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.2308, allocations: 51.72 kB / 0.9474 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2324, allocations: 1.355 MB / 0.9488 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.2328, allocations: 0.9534 MB / 0.9497 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001977/0.233, allocations: 77.33 kB / 0.9498 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.233, allocations: 35.42 kB / 0.9498 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of SimCode: time 4.9e-07/0.2331, allocations: 0 / 0.9498 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of Templates: time 0.008578/0.2416, allocations: 4.135 MB / 0.9538 GB, free: 1.992 MB / 0.5886 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)