Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.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.001074/0.001074, allocations: 178 kB / 382.3 MB, free: 14.84 MB / 314.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.632/1.632, allocations: 225.7 MB / 0.6617 GB, free: 7.246 MB / 490.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.0007906/0.0007905, allocations: 93.89 kB / 0.7789 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 8 kB / 0.9058 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.6416, allocations: 119.2 MB / 1.022 GB, free: 57.83 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002216/0.6439, allocations: 1.594 MB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003818/0.6478, allocations: 3.47 MB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.6479, allocations: 2.938 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.6482, allocations: 43.33 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.6486, allocations: 128.1 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.072e-05/0.6487, allocations: 20.2 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.6489, allocations: 185.9 kB / 1.028 GB, free: 54.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.6491, allocations: 27.45 kB / 1.028 GB, free: 54.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.6493, allocations: 75.75 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.6496, allocations: 77.34 kB / 1.028 GB, free: 54.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.6496, allocations: 5.438 kB / 1.028 GB, free: 54.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.6497, allocations: 29 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.6498, allocations: 33.19 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.6499, allocations: 100.3 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.6501, allocations: 152.2 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.6502, allocations: 7.938 kB / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.544e-06/0.6502, allocations: 0 / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6502, allocations: 0 / 1.028 GB, free: 54.16 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008938/0.6511, allocations: 0.4928 MB / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.6511, allocations: 8.25 kB / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.6512, allocations: 23.03 kB / 1.029 GB, free: 53.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.6515, allocations: 241 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.6516, allocations: 1.906 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.6516, allocations: 14.22 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.652, allocations: 152.5 kB / 1.029 GB, free: 53.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.652, allocations: 1.062 kB / 1.029 GB, free: 53.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.652, allocations: 3.984 kB / 1.029 GB, free: 53.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.652, allocations: 16.56 kB / 1.029 GB, free: 53.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00047/0.6525, allocations: 165 kB / 1.029 GB, free: 53.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.6533, allocations: 455.8 kB / 1.03 GB, free: 53.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.6537, allocations: 183.2 kB / 1.03 GB, free: 52.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.654, allocations: 118.2 kB / 1.03 GB, free: 52.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.654, allocations: 5.578 kB / 1.03 GB, free: 52.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.654, allocations: 32.03 kB / 1.03 GB, free: 52.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.654, allocations: 0 / 1.03 GB, free: 52.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0008292/0.6549, allocations: 319.2 kB / 1.03 GB, free: 52.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.6549, allocations: 55.34 kB / 1.03 GB, free: 52.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.6551, allocations: 213.1 kB / 1.03 GB, free: 52.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.6551, allocations: 25.7 kB / 1.03 GB, free: 52.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.6552, allocations: 125.2 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.6553, allocations: 41.2 kB / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.6553, allocations: 4 kB / 1.031 GB, free: 52.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.6554, allocations: 342.2 kB / 1.031 GB, free: 52.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.6556, allocations: 79.27 kB / 1.031 GB, free: 52.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.6558, allocations: 85.2 kB / 1.031 GB, free: 52.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/0.6563, allocations: 185.8 kB / 1.031 GB, free: 51.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6563, allocations: 1.375 kB / 1.031 GB, free: 51.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004973/0.6568, allocations: 226 kB / 1.032 GB, free: 51.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.6568, allocations: 7.125 kB / 1.032 GB, free: 51.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.6568, allocations: 5.578 kB / 1.032 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6569, allocations: 0 / 1.032 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.6571, allocations: 44.83 kB / 1.032 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6571, allocations: 0 / 1.032 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.6573, allocations: 19.09 kB / 1.032 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.6573, allocations: 6.891 kB / 1.032 GB, free: 51.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 9.519e-05/0.6574, allocations: 129.1 kB / 1.032 GB, free: 51.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.6575, allocations: 26.03 kB / 1.032 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.6575, allocations: 28.45 kB / 1.032 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.6576, allocations: 1.719 kB / 1.032 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6576, allocations: 0 / 1.032 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6576, allocations: 3.016 kB / 1.032 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.6578, allocations: 266 kB / 1.032 GB, free: 51.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6578, allocations: 3.938 kB / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.6581, allocations: 40.25 kB / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6581, allocations: 1.688 kB / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.6581, allocations: 11.56 kB / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6581, allocations: 0 / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6581, allocations: 0 / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.6586, allocations: 334.9 kB / 1.032 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.6587, allocations: 114.5 kB / 1.033 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.6588, allocations: 0 / 1.033 GB, free: 51.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.659, allocations: 29.66 kB / 1.033 GB, free: 51.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.659, allocations: 7.453 kB / 1.033 GB, free: 51.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.659, allocations: 3.75 kB / 1.033 GB, free: 51.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000114/0.6592, allocations: 160.3 kB / 1.033 GB, free: 51.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6592, allocations: 0 / 1.033 GB, free: 51.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002484/0.6594, allocations: 38.22 kB / 1.033 GB, free: 51.05 MB / 0.698 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 (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.000156/0.6596, allocations: 113.2 kB / 1.033 GB, free: 50.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004942/0.6601, allocations: 198.6 kB / 1.033 GB, free: 50.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6601, allocations: 0 / 1.033 GB, free: 50.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.6603, allocations: 102.9 kB / 1.033 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.6607, allocations: 26.27 kB / 1.033 GB, free: 50.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.6615, allocations: 0.5095 MB / 1.034 GB, free: 50.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.6617, allocations: 0.7312 MB / 1.034 GB, free: 49.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.6619, allocations: 54.86 kB / 1.034 GB, free: 49.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.6619, allocations: 16.94 kB / 1.034 GB, free: 49.87 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.6619, allocations: 0 / 1.034 GB, free: 49.87 MB / 0.698 GB Notification: Performance of Templates: time 0.004298/0.6662, allocations: 1.641 MB / 1.036 GB, free: 49.75 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)