Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") 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.459/1.459, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.0008942/0.0008943, allocations: 192.6 kB / 382.3 MB, free: 14.83 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.153/1.153, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.0007501/0.0007499, allocations: 93.56 kB / 0.7789 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002963, allocations: 8 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.444, allocations: 119.2 MB / 1.022 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001337/0.4454, allocations: 1.235 MB / 1.023 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.093e-05/0.4454, allocations: 35.53 kB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.4455, allocations: 2.031 kB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.313e-05/0.4456, allocations: 11.31 kB / 1.024 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.909e-05/0.4456, allocations: 11.66 kB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.032e-05/0.4457, allocations: 18.48 kB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.4458, allocations: 41.86 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.4459, allocations: 27.59 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.4459, allocations: 21.14 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.446, allocations: 18.47 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.446, allocations: 1.375 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.446, allocations: 1.375 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.446, allocations: 18.11 kB / 1.024 GB, free: 57.28 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.4461, allocations: 45.17 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.971e-05/0.4462, allocations: 54.97 kB / 1.024 GB, free: 57.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4462, allocations: 5.219 kB / 1.024 GB, free: 57.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4462, allocations: 0.9062 kB / 1.024 GB, free: 57.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.036e-06/0.4462, allocations: 0 / 1.024 GB, free: 57.21 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002315/0.4464, allocations: 354.9 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.4464, allocations: 10.23 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.4465, allocations: 5.531 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.4466, allocations: 186.3 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.4466, allocations: 3.031 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.4466, allocations: 4.906 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.4467, allocations: 102.7 kB / 1.024 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4468, allocations: 1.188 kB / 1.024 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.4468, allocations: 7.516 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.4468, allocations: 3.375 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.4469, allocations: 39.42 kB / 1.024 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.4472, allocations: 0.6456 MB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.324e-05/0.4473, allocations: 172 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.4473, allocations: 84.83 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.4473, allocations: 76.84 kB / 1.025 GB, free: 55.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.4473, allocations: 109.8 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4473, allocations: 0 / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 4.982e-05/0.4474, allocations: 42.41 kB / 1.026 GB, free: 55.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.4474, allocations: 126.7 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.4475, allocations: 170.5 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-06/0.4476, allocations: 27.08 kB / 1.026 GB, free: 55.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.4476, allocations: 105.2 kB / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.4476, allocations: 0 / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.4476, allocations: 0 / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.4477, allocations: 320.7 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.4477, allocations: 6.75 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.455e-05/0.4477, allocations: 23.22 kB / 1.026 GB, free: 54.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.4477, allocations: 33.86 kB / 1.026 GB, free: 54.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4477, allocations: 5.875 kB / 1.026 GB, free: 54.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.464e-05/0.4478, allocations: 56.48 kB / 1.026 GB, free: 54.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.4478, allocations: 10.12 kB / 1.026 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.4478, allocations: 0 / 1.026 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.4479, allocations: 9.453 kB / 1.026 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.396e-05/0.4479, allocations: 4.062 kB / 1.026 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4479, allocations: 2.125 kB / 1.026 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.4479, allocations: 6.781 kB / 1.026 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.448, allocations: 3.797 kB / 1.026 GB, free: 54.59 MB / 0.698 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 (3): * Single equations (assignments): 3 * 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 4.763e-05/0.448, allocations: 195.9 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.448, allocations: 115.3 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.4481, allocations: 118.1 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.4481, allocations: 182.4 kB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/0.4481, allocations: 178.9 kB / 1.027 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.4481, allocations: 181.6 kB / 1.027 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4483, allocations: 425.7 kB / 1.028 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.4483, allocations: 106.9 kB / 1.028 GB, free: 53.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.4483, allocations: 105.5 kB / 1.028 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.786e-05/0.4483, allocations: 178 kB / 1.028 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.4483, allocations: 186.3 kB / 1.028 GB, free: 52.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.737e-05/0.4484, allocations: 182.1 kB / 1.028 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.656e-05/0.4484, allocations: 180.5 kB / 1.029 GB, free: 52.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.195e-05/0.4484, allocations: 321.1 kB / 1.029 GB, free: 51.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.4485, allocations: 190.4 kB / 1.029 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.4485, allocations: 186.9 kB / 1.029 GB, free: 51.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.4486, allocations: 105.3 kB / 1.029 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.4486, allocations: 185 kB / 1.03 GB, free: 51.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.4486, allocations: 103.7 kB / 1.03 GB, free: 51.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.449e-05/0.4487, allocations: 127.6 kB / 1.03 GB, free: 51.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4487, allocations: 0 / 1.03 GB, free: 51.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001884/0.4489, allocations: 7.719 kB / 1.03 GB, free: 51.01 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 (0): * Single equations (assignments): 0 * 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 7.617e-05/0.449, allocations: 179.1 kB / 1.03 GB, free: 50.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.578e-05/0.449, allocations: 18.8 kB / 1.03 GB, free: 50.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.449, allocations: 0 / 1.03 GB, free: 50.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.449, allocations: 2.531 kB / 1.03 GB, free: 50.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.4493, allocations: 0.5311 MB / 1.031 GB, free: 50.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.4495, allocations: 246.3 kB / 1.031 GB, free: 50.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.008e-05/0.4496, allocations: 0.6906 MB / 1.031 GB, free: 49.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.759e-05/0.4496, allocations: 5.75 kB / 1.031 GB, free: 49.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.4496, allocations: 10.16 kB / 1.031 GB, free: 49.38 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.4496, allocations: 0 / 1.031 GB, free: 49.38 MB / 0.698 GB Notification: Performance of Templates: time 0.001723/0.4514, allocations: 407.8 kB / 1.032 GB, free: 49.32 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)