Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.61/1.61, allocations: 291.7 MB / 306.8 MB, free: 7.648 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.0009772/0.0009775, allocations: 184.2 kB / 375.4 MB, free: 5.105 MB / 298.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.45/1.45, allocations: 225.7 MB / 0.6538 GB, free: 13.6 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.001179/0.001179, allocations: 96.98 kB / 0.7699 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004486, allocations: 13.75 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7027, allocations: 118.1 MB / 1.011 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001806/0.7045, allocations: 1.241 MB / 1.012 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000135/0.7047, allocations: 30.95 kB / 1.012 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.7047, allocations: 0.5625 kB / 1.012 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.7048, allocations: 9.422 kB / 1.012 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.7049, allocations: 4.656 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.705, allocations: 23.33 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.7051, allocations: 37.98 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.7052, allocations: 34.09 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.7053, allocations: 13.52 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.7053, allocations: 21.84 kB / 1.012 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.7053, allocations: 0.6875 kB / 1.012 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.7054, allocations: 3.438 kB / 1.012 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.7054, allocations: 16.56 kB / 1.012 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.7054, allocations: 30.92 kB / 1.012 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.601e-05/0.7055, allocations: 39.47 kB / 1.012 GB, free: 57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7056, allocations: 0 / 1.012 GB, free: 57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7056, allocations: 1.531 kB / 1.012 GB, free: 57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.7056, allocations: 0.5312 kB / 1.012 GB, free: 57 MB / 0.7136 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.0002912/0.7059, allocations: 353.1 kB / 1.013 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.7059, allocations: 9.625 kB / 1.013 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.7059, allocations: 10.14 kB / 1.013 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.7061, allocations: 192.7 kB / 1.013 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.7061, allocations: 4.25 kB / 1.013 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.7061, allocations: 4.344 kB / 1.013 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.7063, allocations: 103.3 kB / 1.013 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7063, allocations: 2.25 kB / 1.013 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.7063, allocations: 3.938 kB / 1.013 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7063, allocations: 3.344 kB / 1.013 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/0.7064, allocations: 46.27 kB / 1.013 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.7069, allocations: 0.6433 MB / 1.014 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.707, allocations: 170.7 kB / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.707, allocations: 84.08 kB / 1.014 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.707, allocations: 77.12 kB / 1.014 GB, free: 55.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.7071, allocations: 112 kB / 1.014 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.7071, allocations: 0 / 1.014 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.494e-05/0.7072, allocations: 37.02 kB / 1.014 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.7072, allocations: 129.1 kB / 1.014 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.7074, allocations: 168.5 kB / 1.014 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.7074, allocations: 26.55 kB / 1.014 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.7075, allocations: 107.8 kB / 1.015 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.7075, allocations: 2.719 kB / 1.015 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.7075, allocations: 0 / 1.015 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.7076, allocations: 320.8 kB / 1.015 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.7076, allocations: 2.625 kB / 1.015 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.7076, allocations: 24.8 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.7077, allocations: 32.23 kB / 1.015 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7077, allocations: 0 / 1.015 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000106/0.7078, allocations: 57.34 kB / 1.015 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7078, allocations: 5.719 kB / 1.015 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7078, allocations: 0 / 1.015 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7079, allocations: 7.906 kB / 1.015 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.7079, allocations: 5.062 kB / 1.015 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7079, allocations: 3.047 kB / 1.015 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.708, allocations: 13.25 kB / 1.015 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.708, allocations: 0 / 1.015 GB, free: 54.51 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.08e-05/0.7081, allocations: 193.8 kB / 1.015 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.7081, allocations: 114.9 kB / 1.015 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.7082, allocations: 118.3 kB / 1.015 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/0.7082, allocations: 178.1 kB / 1.016 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.699e-05/0.7083, allocations: 183.5 kB / 1.016 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/0.7083, allocations: 179.6 kB / 1.016 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.7085, allocations: 427.3 kB / 1.016 GB, free: 53.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/0.7085, allocations: 103.9 kB / 1.016 GB, free: 53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.7086, allocations: 109.4 kB / 1.017 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.503e-05/0.7086, allocations: 180.2 kB / 1.017 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.7086, allocations: 181.1 kB / 1.017 GB, free: 52.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.834e-05/0.7087, allocations: 189 kB / 1.017 GB, free: 52.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.631e-05/0.7087, allocations: 176.3 kB / 1.017 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.39e-05/0.7088, allocations: 315.6 kB / 1.018 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.7089, allocations: 190.8 kB / 1.018 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.709, allocations: 189.6 kB / 1.018 GB, free: 51.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.709, allocations: 101.3 kB / 1.018 GB, free: 51.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.7091, allocations: 182.2 kB / 1.018 GB, free: 51.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.7091, allocations: 109 kB / 1.018 GB, free: 51.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.909e-05/0.7092, allocations: 130.8 kB / 1.018 GB, free: 50.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7092, allocations: 2.094 kB / 1.018 GB, free: 50.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002651/0.7095, allocations: 5.656 kB / 1.018 GB, free: 50.98 MB / 0.7136 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 (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.000139/0.7096, allocations: 178.4 kB / 1.019 GB, free: 50.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.7097, allocations: 14.25 kB / 1.019 GB, free: 50.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7097, allocations: 1.156 kB / 1.019 GB, free: 50.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.7097, allocations: 0.8438 kB / 1.019 GB, free: 50.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.7101, allocations: 0.5287 MB / 1.019 GB, free: 50.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.7104, allocations: 241.3 kB / 1.019 GB, free: 50.08 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.7106, allocations: 0.6967 MB / 1.02 GB, free: 49.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.332e-05/0.7106, allocations: 6.406 kB / 1.02 GB, free: 49.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.7107, allocations: 12.06 kB / 1.02 GB, free: 49.38 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.7107, allocations: 0 / 1.02 GB, free: 49.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.002347/0.713, allocations: 389.4 kB / 1.02 GB, free: 49.37 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)