Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.641/1.641, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001038/0.001038, allocations: 180.1 kB / 393.1 MB, free: 4.078 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.321/1.321, allocations: 225.7 MB / 0.6743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000821/0.000821, allocations: 96.02 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003146, allocations: 8 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5192, allocations: 121.3 MB / 1.041 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001795/0.521, allocations: 1.592 MB / 1.042 GB, free: 56.94 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003088/0.5241, allocations: 3.476 MB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.5242, allocations: 3.594 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.5244, allocations: 39.97 kB / 1.046 GB, free: 54.3 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.5248, allocations: 133.2 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.29e-05/0.5248, allocations: 14.62 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.525, allocations: 180.2 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.5251, allocations: 37.06 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.5253, allocations: 76.44 kB / 1.046 GB, free: 54.1 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.5255, allocations: 78.25 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.5255, allocations: 8.906 kB / 1.046 GB, free: 54.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.57e-05/0.5256, allocations: 23.44 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.5256, allocations: 35.38 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.5257, allocations: 97.72 kB / 1.047 GB, free: 53.97 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.5259, allocations: 153.6 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5259, allocations: 0.5625 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5259, allocations: 2.75 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5259, allocations: 3.938 kB / 1.047 GB, free: 53.91 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.0007424/0.5267, allocations: 0.4953 MB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.5267, allocations: 13.12 kB / 1.047 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.5268, allocations: 21.47 kB / 1.047 GB, free: 53.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.5271, allocations: 240.8 kB / 1.047 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.5271, allocations: 384 / 1.047 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.5271, allocations: 6.844 kB / 1.047 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.5274, allocations: 150 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5275, allocations: 6.031 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5275, allocations: 2.391 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.5275, allocations: 7.609 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.5279, allocations: 163.2 kB / 1.048 GB, free: 53.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.5285, allocations: 465.2 kB / 1.048 GB, free: 52.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.5289, allocations: 179.3 kB / 1.048 GB, free: 52.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.5292, allocations: 114.2 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.5292, allocations: 10.08 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.5292, allocations: 35.69 kB / 1.049 GB, free: 52.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.5292, allocations: 0 / 1.049 GB, free: 52.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0007597/0.53, allocations: 314.1 kB / 1.049 GB, free: 52.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.53, allocations: 54.31 kB / 1.049 GB, free: 52.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.5302, allocations: 211.5 kB / 1.049 GB, free: 52.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.5302, allocations: 33.64 kB / 1.049 GB, free: 52.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.5303, allocations: 125 kB / 1.049 GB, free: 52.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.5303, allocations: 48.72 kB / 1.049 GB, free: 52.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.5303, allocations: 7.281 kB / 1.049 GB, free: 52.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.5304, allocations: 332.2 kB / 1.05 GB, free: 51.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.5306, allocations: 82.8 kB / 1.05 GB, free: 51.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.5308, allocations: 82.88 kB / 1.05 GB, free: 51.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.5312, allocations: 181.2 kB / 1.05 GB, free: 51.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5312, allocations: 0 / 1.05 GB, free: 51.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000492/0.5317, allocations: 228.6 kB / 1.05 GB, free: 51.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5317, allocations: 6.75 kB / 1.05 GB, free: 51.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5318, allocations: 4 kB / 1.05 GB, free: 51.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.5318, allocations: 0 / 1.05 GB, free: 51.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.532, allocations: 43.03 kB / 1.05 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.532, allocations: 2.719 kB / 1.05 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.5322, allocations: 20.81 kB / 1.05 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.5322, allocations: 7.719 kB / 1.05 GB, free: 51.62 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 7.796e-05/0.5323, allocations: 134.5 kB / 1.05 GB, free: 51.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.5324, allocations: 19.05 kB / 1.05 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.5324, allocations: 25.78 kB / 1.05 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5324, allocations: 1.062 kB / 1.05 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5324, allocations: 0.5 kB / 1.05 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5324, allocations: 4.109 kB / 1.05 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.5327, allocations: 267.7 kB / 1.051 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5327, allocations: 2.969 kB / 1.051 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.5329, allocations: 47.86 kB / 1.051 GB, free: 51.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5329, allocations: 0 / 1.051 GB, free: 51.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.5329, allocations: 8.703 kB / 1.051 GB, free: 51.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5329, allocations: 0 / 1.051 GB, free: 51.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5329, allocations: 0 / 1.051 GB, free: 51.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.5334, allocations: 329.1 kB / 1.051 GB, free: 51.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.5335, allocations: 113.7 kB / 1.051 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.5336, allocations: 1.156 kB / 1.051 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.5337, allocations: 22.33 kB / 1.051 GB, free: 50.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.5338, allocations: 12.52 kB / 1.051 GB, free: 50.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.5338, allocations: 3.844 kB / 1.051 GB, free: 50.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.689e-05/0.5339, allocations: 162.9 kB / 1.051 GB, free: 50.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.72e-07/0.5339, allocations: 0 / 1.051 GB, free: 50.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002441/0.5342, allocations: 49.28 kB / 1.051 GB, free: 50.8 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.0001353/0.5343, allocations: 112.2 kB / 1.051 GB, free: 50.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.5348, allocations: 193.8 kB / 1.052 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5348, allocations: 0 / 1.052 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.535, allocations: 101.2 kB / 1.052 GB, free: 50.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.5354, allocations: 29.5 kB / 1.052 GB, free: 50.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.5361, allocations: 0.5103 MB / 1.052 GB, free: 50.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.5363, allocations: 0.7243 MB / 1.053 GB, free: 49.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000172/0.5364, allocations: 47.41 kB / 1.053 GB, free: 49.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.5365, allocations: 15.81 kB / 1.053 GB, free: 49.62 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.5365, allocations: 0 / 1.053 GB, free: 49.62 MB / 0.698 GB Notification: Performance of Templates: time 0.004005/0.5405, allocations: 1.642 MB / 1.055 GB, free: 49.5 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)