Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") 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.709/1.709, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001068/0.001067, allocations: 186 kB / 382.3 MB, free: 14.82 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.413/1.413, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0008911/0.0008912, allocations: 92.34 kB / 0.7789 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003758, allocations: 8 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.6409, allocations: 119.2 MB / 1.022 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00232/0.6432, allocations: 1.671 MB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003993/0.6472, allocations: 4.091 MB / 1.028 GB, free: 53.87 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.6474, allocations: 5.156 kB / 1.028 GB, free: 53.87 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.6477, allocations: 44.02 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.648, allocations: 99.34 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.6483, allocations: 103.6 kB / 1.028 GB, free: 53.74 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.6486, allocations: 239.1 kB / 1.028 GB, free: 53.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.6487, allocations: 51.72 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.6489, allocations: 98.89 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.6491, allocations: 101.5 kB / 1.029 GB, free: 53.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.6491, allocations: 9.188 kB / 1.029 GB, free: 53.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.6493, allocations: 106.5 kB / 1.029 GB, free: 53.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.6494, allocations: 41.06 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.599e-05/0.6495, allocations: 116.1 kB / 1.029 GB, free: 53.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.6498, allocations: 260 kB / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.6498, allocations: 0 / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6498, allocations: 0 / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6498, allocations: 1 kB / 1.029 GB, free: 53.3 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009892/0.6508, allocations: 0.5795 MB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.6509, allocations: 12.56 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.6509, allocations: 23.38 kB / 1.03 GB, free: 52.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.6513, allocations: 270.5 kB / 1.03 GB, free: 52.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.6513, allocations: 8.25 kB / 1.03 GB, free: 52.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.6513, allocations: 12.66 kB / 1.03 GB, free: 52.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.6518, allocations: 191.8 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6518, allocations: 0 / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6519, allocations: 6.125 kB / 1.03 GB, free: 52.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6519, allocations: 2.5 kB / 1.03 GB, free: 52.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006658/0.6525, allocations: 240.7 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.6533, allocations: 497 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.6537, allocations: 147.7 kB / 1.031 GB, free: 52.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.6541, allocations: 132.9 kB / 1.031 GB, free: 52.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007825/0.6549, allocations: 0.5758 MB / 1.032 GB, free: 51.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.6549, allocations: 35.56 kB / 1.032 GB, free: 51.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.6549, allocations: 1.031 kB / 1.032 GB, free: 51.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001213/0.6561, allocations: 415.5 kB / 1.032 GB, free: 51.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.6562, allocations: 53.69 kB / 1.032 GB, free: 51.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.6564, allocations: 238.5 kB / 1.032 GB, free: 51.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.6564, allocations: 31.89 kB / 1.032 GB, free: 51.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.6565, allocations: 141.2 kB / 1.033 GB, free: 50.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.6566, allocations: 39.88 kB / 1.033 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.6566, allocations: 0 / 1.033 GB, free: 50.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.6567, allocations: 328.6 kB / 1.033 GB, free: 50.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.657, allocations: 119.5 kB / 1.033 GB, free: 50.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.6573, allocations: 120.3 kB / 1.033 GB, free: 50.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/0.658, allocations: 237.8 kB / 1.033 GB, free: 50.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.658, allocations: 0 / 1.033 GB, free: 50.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007141/0.6587, allocations: 304.1 kB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.6587, allocations: 7.5 kB / 1.034 GB, free: 50.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.6587, allocations: 1.875 kB / 1.034 GB, free: 50.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.6588, allocations: 5.297 kB / 1.034 GB, free: 50.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.6591, allocations: 58.88 kB / 1.034 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6591, allocations: 7.938 kB / 1.034 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.6593, allocations: 42.58 kB / 1.034 GB, free: 50.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.6593, allocations: 6.625 kB / 1.034 GB, free: 50.35 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 (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 9.4e-05/0.6594, allocations: 125.7 kB / 1.034 GB, free: 50.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.6595, allocations: 20.22 kB / 1.034 GB, free: 50.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008377/0.6603, allocations: 320.7 kB / 1.034 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.6604, allocations: 7.531 kB / 1.034 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6604, allocations: 9.797 kB / 1.034 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6604, allocations: 3.188 kB / 1.034 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.6606, allocations: 275.6 kB / 1.035 GB, free: 49.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6606, allocations: 0 / 1.035 GB, free: 49.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.6609, allocations: 59.06 kB / 1.035 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6609, allocations: 3.375 kB / 1.035 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.661, allocations: 2.391 kB / 1.035 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.661, allocations: 0 / 1.035 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.661, allocations: 4.594 kB / 1.035 GB, free: 49.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.6617, allocations: 400.2 kB / 1.035 GB, free: 49.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.6618, allocations: 110.9 kB / 1.035 GB, free: 49.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.6618, allocations: 16.67 kB / 1.035 GB, free: 49.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.6621, allocations: 29.36 kB / 1.035 GB, free: 49.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.6622, allocations: 18.47 kB / 1.035 GB, free: 49.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6622, allocations: 10.16 kB / 1.035 GB, free: 49.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001217/0.6623, allocations: 169.2 kB / 1.035 GB, free: 49.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6623, allocations: 0 / 1.035 GB, free: 49.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003086/0.6626, allocations: 57.94 kB / 1.035 GB, free: 49.41 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 (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 Backend phase and start with SimCode phase: time 0.0002062/0.6629, allocations: 140.7 kB / 1.036 GB, free: 49.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007701/0.6636, allocations: 261.4 kB / 1.036 GB, free: 49.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6636, allocations: 0 / 1.036 GB, free: 49.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.664, allocations: 136.2 kB / 1.036 GB, free: 49.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.6644, allocations: 32.47 kB / 1.036 GB, free: 49.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/0.6652, allocations: 0.4999 MB / 1.036 GB, free: 48.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.6654, allocations: 0.7324 MB / 1.037 GB, free: 48.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000191/0.6655, allocations: 41.19 kB / 1.037 GB, free: 48.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.6656, allocations: 20.09 kB / 1.037 GB, free: 48.19 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.6656, allocations: 0 / 1.037 GB, free: 48.19 MB / 0.698 GB Notification: Performance of Templates: time 0.005596/0.6712, allocations: 2.369 MB / 1.04 GB, free: 48.01 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)