Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") 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.659/1.659, 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.001008/0.001008, allocations: 190 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.442/1.442, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0008277/0.0008277, allocations: 88 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 8 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7096, allocations: 119.2 MB / 1.022 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001971/0.7116, allocations: 1.226 MB / 1.023 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006815/0.7123, allocations: 384.1 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.7124, allocations: 0 / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.7124, allocations: 6.609 kB / 1.024 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.7125, allocations: 9.281 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.7127, allocations: 16.86 kB / 1.024 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.7128, allocations: 47.97 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.7129, allocations: 8.234 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.713, allocations: 22.23 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.434e-05/0.7132, allocations: 27.03 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.7132, allocations: 6.094 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.7132, allocations: 1.031 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.7132, allocations: 2.469 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.7133, allocations: 47.47 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.7134, allocations: 48.8 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7134, allocations: 0.625 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7134, allocations: 0.625 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7135, allocations: 1.312 kB / 1.024 GB, free: 57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004581/0.7139, allocations: 359 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.714, allocations: 9.344 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.714, allocations: 5.781 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.884e-05/0.7141, allocations: 171.6 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.7141, allocations: 1.719 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.7142, allocations: 9.344 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.7143, allocations: 61.59 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7144, allocations: 1.375 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.7144, allocations: 0 / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.7144, allocations: 1.375 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.7145, allocations: 45.48 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.7149, allocations: 281.1 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.715, allocations: 41.53 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.7151, allocations: 27.44 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.7152, allocations: 4.031 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.7152, allocations: 36.86 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.7152, allocations: 0 / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003323/0.7155, allocations: 99.84 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.7156, allocations: 51.97 kB / 1.025 GB, free: 55.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.7157, allocations: 122.5 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.7157, allocations: 25.7 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.7157, allocations: 93.45 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.7158, allocations: 15.83 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.7158, allocations: 0 / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.7158, allocations: 317.5 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.7159, allocations: 22.89 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.716, allocations: 27.64 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.7161, allocations: 54.2 kB / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7161, allocations: 0 / 1.026 GB, free: 55.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001758/0.7163, allocations: 86.17 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7163, allocations: 8.719 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.7163, allocations: 0 / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.7164, allocations: 1.594 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.7165, allocations: 10.72 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.7165, allocations: 5.406 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/0.7165, allocations: 4.562 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.7166, allocations: 9.625 kB / 1.026 GB, free: 55.26 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 (3): * Single equations (assignments): 3 * 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 6.42e-05/0.7166, allocations: 117.5 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.7167, allocations: 4.297 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.7167, allocations: 6.719 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7167, allocations: 0 / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7167, allocations: 0 / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7167, allocations: 1.25 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.7169, allocations: 175.9 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7169, allocations: 2.734 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.7169, allocations: 14.14 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.717, allocations: 1.938 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.717, allocations: 4 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.717, allocations: 2.672 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.717, allocations: 0 / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.7172, allocations: 184.8 kB / 1.026 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.865e-05/0.7172, allocations: 83.28 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.7173, allocations: 0.75 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.7173, allocations: 8.938 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.7174, allocations: 6.312 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.7174, allocations: 0 / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.7175, allocations: 97.66 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7175, allocations: 4 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001969/0.7177, allocations: 5.625 kB / 1.027 GB, free: 54.59 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 (3): * Single equations (assignments): 3 * 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.0001124/0.7178, allocations: 112.8 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.718, allocations: 47.2 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.718, allocations: 4 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.7181, allocations: 22.25 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.7183, allocations: 9.312 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.7187, allocations: 192.1 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.7188, allocations: 0.6835 MB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.727e-05/0.7189, allocations: 4.234 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.7189, allocations: 9.797 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.7189, allocations: 0 / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of Templates: time 0.002513/0.7214, allocations: 391.3 kB / 1.028 GB, free: 53.57 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)