Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.74/1.74, allocations: 291.7 MB / 306.8 MB, free: 7.688 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.001268/0.001268, allocations: 192.1 kB / 375.4 MB, free: 5.117 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.492/1.492, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0009795/0.0009791, allocations: 101.9 kB / 0.7699 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004949, allocations: 8 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6452, allocations: 118.1 MB / 1.011 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001772/0.6471, allocations: 1.216 MB / 1.012 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006476/0.6477, allocations: 382.2 kB / 1.012 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.6478, allocations: 0 / 1.012 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.6478, allocations: 5.906 kB / 1.012 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.84e-05/0.6479, allocations: 11.92 kB / 1.012 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.6481, allocations: 12.83 kB / 1.012 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.858e-05/0.6482, allocations: 43.98 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.6483, allocations: 11.19 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.875e-05/0.6484, allocations: 18.12 kB / 1.013 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.6485, allocations: 28.88 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.6485, allocations: 2.625 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.6485, allocations: 0 / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.6485, allocations: 4.672 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.6486, allocations: 38.42 kB / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.828e-05/0.6486, allocations: 32.08 kB / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6486, allocations: 0 / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6486, allocations: 1.312 kB / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.6487, allocations: 0 / 1.013 GB, free: 57.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004482/0.6491, allocations: 362.6 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6492, allocations: 10.47 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.6492, allocations: 0.9375 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.6493, allocations: 178.3 kB / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.6493, allocations: 3.75 kB / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.6494, allocations: 384 / 1.013 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.6495, allocations: 63.56 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6496, allocations: 4.188 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.6496, allocations: 0.5 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6496, allocations: 1.969 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.6497, allocations: 49.14 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.6502, allocations: 278.6 kB / 1.014 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.6504, allocations: 41.03 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.6505, allocations: 28.64 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.6505, allocations: 0 / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.6505, allocations: 42.73 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.6506, allocations: 6.938 kB / 1.014 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003841/0.6509, allocations: 90.59 kB / 1.014 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.651, allocations: 57.75 kB / 1.014 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.457e-05/0.6511, allocations: 116.4 kB / 1.014 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6511, allocations: 25.7 kB / 1.014 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.6512, allocations: 97.66 kB / 1.014 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.6512, allocations: 11.89 kB / 1.014 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.6512, allocations: 1.531 kB / 1.014 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.179e-05/0.6513, allocations: 321.7 kB / 1.014 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.6514, allocations: 21.05 kB / 1.014 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.6514, allocations: 23.52 kB / 1.014 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.6516, allocations: 51.7 kB / 1.014 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6516, allocations: 2.969 kB / 1.014 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001675/0.6518, allocations: 79.59 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.6518, allocations: 5.469 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6518, allocations: 0 / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.6519, allocations: 0 / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.652, allocations: 12.97 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.652, allocations: 0 / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.6521, allocations: 11.34 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.6521, allocations: 5.859 kB / 1.015 GB, free: 55.82 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 (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 8.027e-05/0.6522, allocations: 120.5 kB / 1.015 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.6522, allocations: 0 / 1.015 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.6522, allocations: 12.59 kB / 1.015 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.6523, allocations: 1.922 kB / 1.015 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6523, allocations: 0 / 1.015 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6523, allocations: 4.688 kB / 1.015 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.6524, allocations: 170.6 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6524, allocations: 1.656 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.6525, allocations: 13.27 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.6525, allocations: 0 / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.6526, allocations: 1.406 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.6526, allocations: 1.953 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6526, allocations: 4.969 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.6528, allocations: 181.3 kB / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.6528, allocations: 87.58 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.6529, allocations: 0 / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.6529, allocations: 5.625 kB / 1.015 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.653, allocations: 11.47 kB / 1.015 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.653, allocations: 0 / 1.015 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.327e-05/0.6531, allocations: 92.97 kB / 1.015 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6531, allocations: 2.156 kB / 1.015 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002144/0.6533, allocations: 11.09 kB / 1.015 GB, free: 55.18 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 (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 Backend phase and start with SimCode phase: time 0.0001178/0.6534, allocations: 100.9 kB / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.6536, allocations: 51.03 kB / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6536, allocations: 0.5 kB / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.6537, allocations: 25.59 kB / 1.015 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.654, allocations: 12.06 kB / 1.015 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.6545, allocations: 187.7 kB / 1.016 GB, free: 54.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.6547, allocations: 0.6859 MB / 1.016 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.6548, allocations: 0 / 1.016 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.6548, allocations: 16.91 kB / 1.016 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6549, allocations: 0 / 1.016 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.002504/0.6574, allocations: 381.9 kB / 1.017 GB, free: 54.24 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)