Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.832/1.832, allocations: 291.7 MB / 306.8 MB, free: 7.699 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.001083/0.001083, allocations: 181.4 kB / 375.4 MB, free: 5.129 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.485/1.485, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.001206/0.001206, allocations: 100.9 kB / 0.7699 GB, free: 50.13 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004176, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6467/0.6471, allocations: 118.1 MB / 1.011 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003019/0.6502, allocations: 1.783 MB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004794/0.655, allocations: 3.541 MB / 1.016 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.6552, allocations: 2.844 kB / 1.016 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.6555, allocations: 38.95 kB / 1.016 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.6558, allocations: 114.6 kB / 1.016 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.6561, allocations: 117.8 kB / 1.016 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.6564, allocations: 267.9 kB / 1.017 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.6565, allocations: 54.19 kB / 1.017 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.6567, allocations: 113.3 kB / 1.017 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.6569, allocations: 126 kB / 1.017 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.6569, allocations: 10.5 kB / 1.017 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.6572, allocations: 122.4 kB / 1.017 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.6572, allocations: 51.09 kB / 1.017 GB, free: 56.66 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.6573, allocations: 61.27 kB / 1.017 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.6575, allocations: 222.5 kB / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6575, allocations: 0 / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6575, allocations: 0 / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6575, allocations: 0 / 1.017 GB, free: 56.59 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009923/0.6585, allocations: 0.6253 MB / 1.018 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.6586, allocations: 11.84 kB / 1.018 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008057/0.6594, allocations: 157.1 kB / 1.018 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/0.66, allocations: 343.9 kB / 1.018 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.6601, allocations: 9.812 kB / 1.018 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.6601, allocations: 13.19 kB / 1.018 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.6607, allocations: 252.2 kB / 1.019 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.6607, allocations: 0 / 1.019 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.6608, allocations: 7.5 kB / 1.019 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6608, allocations: 0 / 1.019 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/0.6617, allocations: 342.6 kB / 1.019 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.6629, allocations: 0.5924 MB / 1.02 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.6634, allocations: 197.1 kB / 1.02 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.6639, allocations: 196 kB / 1.02 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006872/0.6646, allocations: 0.5701 MB / 1.021 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.6646, allocations: 42.28 kB / 1.021 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.6646, allocations: 0 / 1.021 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.001609/0.6662, allocations: 0.5572 MB / 1.021 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.6663, allocations: 51.41 kB / 1.021 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.6665, allocations: 261 kB / 1.021 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.6665, allocations: 30.3 kB / 1.021 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.6666, allocations: 155.3 kB / 1.022 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.6666, allocations: 47.75 kB / 1.022 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.6666, allocations: 4 kB / 1.022 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.6667, allocations: 341.8 kB / 1.022 GB, free: 54.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.6672, allocations: 174.2 kB / 1.022 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.6677, allocations: 182.4 kB / 1.022 GB, free: 54.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009261/0.6686, allocations: 350.5 kB / 1.023 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6686, allocations: 3.938 kB / 1.023 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001054/0.6697, allocations: 430.9 kB / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6697, allocations: 5.281 kB / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6697, allocations: 0.6562 kB / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6697, allocations: 0 / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.6702, allocations: 89.05 kB / 1.023 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6702, allocations: 0 / 1.023 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.6705, allocations: 65.34 kB / 1.023 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.6706, allocations: 6.938 kB / 1.023 GB, free: 54.07 MB / 0.7136 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 (17): * Single equations (assignments): 17 * 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.0001115/0.6707, allocations: 125.8 kB / 1.023 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.6707, allocations: 27.09 kB / 1.023 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.6719, allocations: 446 kB / 1.024 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6719, allocations: 0.9375 kB / 1.024 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6719, allocations: 2.25 kB / 1.024 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6719, allocations: 4.5 kB / 1.024 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.6722, allocations: 305.1 kB / 1.024 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6722, allocations: 0 / 1.024 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.6726, allocations: 78.19 kB / 1.024 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6726, allocations: 3.031 kB / 1.024 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.6727, allocations: 3.375 kB / 1.024 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6727, allocations: 0 / 1.024 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6727, allocations: 2.969 kB / 1.024 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.6737, allocations: 0.5037 MB / 1.025 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.6738, allocations: 122.8 kB / 1.025 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.6739, allocations: 7.359 kB / 1.025 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.6742, allocations: 50.41 kB / 1.025 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.6743, allocations: 16.91 kB / 1.025 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.6743, allocations: 9.734 kB / 1.025 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001329/0.6745, allocations: 186.8 kB / 1.025 GB, free: 53.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6745, allocations: 0 / 1.025 GB, free: 53.31 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003263/0.6748, allocations: 65.62 kB / 1.025 GB, free: 53.3 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 (13): * Single equations (assignments): 13 * 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.0002245/0.6751, allocations: 144.6 kB / 1.025 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.6762, allocations: 382 kB / 1.026 GB, free: 53.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6762, allocations: 1.5 kB / 1.026 GB, free: 53.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.6767, allocations: 192.8 kB / 1.026 GB, free: 53.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.6771, allocations: 30.78 kB / 1.026 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.6781, allocations: 0.5807 MB / 1.026 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.6783, allocations: 0.7489 MB / 1.027 GB, free: 52.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000266/0.6786, allocations: 47.7 kB / 1.027 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/0.6787, allocations: 22.91 kB / 1.027 GB, free: 52.17 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.6787, allocations: 4 kB / 1.027 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.006335/0.685, allocations: 2.846 MB / 1.03 GB, free: 52.02 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)