Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.769/1.769, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.001297/0.001297, allocations: 179.5 kB / 393.1 MB, free: 4.074 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.395/1.395, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0008199/0.0008199, allocations: 95.58 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003214, allocations: 9.969 kB / 0.9224 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6174/0.6177, allocations: 121.3 MB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001791/0.6196, allocations: 1.224 MB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006027/0.6202, allocations: 380.7 kB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.6202, allocations: 0 / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.6203, allocations: 6.422 kB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.6204, allocations: 13.08 kB / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.6206, allocations: 14.98 kB / 1.042 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.6207, allocations: 48.08 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.6208, allocations: 8.219 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.6209, allocations: 27.7 kB / 1.043 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.621, allocations: 24.77 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.621, allocations: 1.5 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.621, allocations: 3.094 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.6211, allocations: 2.297 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.6211, allocations: 46.27 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.65e-05/0.6212, allocations: 44.92 kB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.6212, allocations: 2.109 kB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6213, allocations: 0 / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.6213, allocations: 0 / 1.043 GB, free: 57.18 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.000468/0.6217, allocations: 363.4 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6218, allocations: 10.12 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.6218, allocations: 7.281 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.6219, allocations: 175.7 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.622, allocations: 1.906 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.622, allocations: 6.125 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.6222, allocations: 63.28 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6222, allocations: 0 / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.6222, allocations: 3.969 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6222, allocations: 2.625 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.6224, allocations: 40.27 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.6228, allocations: 279.7 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.6229, allocations: 42.22 kB / 1.044 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.623, allocations: 29.27 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.623, allocations: 0 / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.6231, allocations: 38.73 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.6231, allocations: 0 / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003315/0.6234, allocations: 110 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.6234, allocations: 52.69 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.6235, allocations: 117.4 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.6236, allocations: 29.17 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.6236, allocations: 90.89 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.6236, allocations: 16.62 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.6236, allocations: 0 / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.6237, allocations: 321.4 kB / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.6238, allocations: 23.77 kB / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/0.6238, allocations: 23.3 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.624, allocations: 50.75 kB / 1.044 GB, free: 55.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.624, allocations: 7.656 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000162/0.6242, allocations: 84 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6242, allocations: 8.219 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6242, allocations: 5.234 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6242, allocations: 0 / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.6243, allocations: 12.72 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6243, allocations: 3.188 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.6244, allocations: 3.812 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.6244, allocations: 0 / 1.045 GB, free: 55.43 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 0.0001099/0.6245, allocations: 124.6 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.6246, allocations: 4.312 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.6246, allocations: 3.906 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6246, allocations: 0 / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6246, allocations: 2.969 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6246, allocations: 0.5625 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.6248, allocations: 178.8 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6248, allocations: 1.062 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.6248, allocations: 19.73 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6249, allocations: 0 / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.6249, allocations: 1.312 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6249, allocations: 0 / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6249, allocations: 0 / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.6251, allocations: 181.3 kB / 1.045 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.6251, allocations: 84.42 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.6251, allocations: 1.125 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.6252, allocations: 7.719 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.6253, allocations: 2.297 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.6253, allocations: 7.625 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.013e-05/0.6253, allocations: 93.25 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6253, allocations: 5.125 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001906/0.6255, allocations: 10.25 kB / 1.045 GB, free: 54.75 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.0001222/0.6257, allocations: 109.5 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.6259, allocations: 50.2 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6259, allocations: 0 / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.239e-05/0.626, allocations: 25.25 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.6262, allocations: 10.16 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.6265, allocations: 187.9 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.6267, allocations: 0.6928 MB / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.6267, allocations: 0 / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.6268, allocations: 7.438 kB / 1.046 GB, free: 53.78 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.6268, allocations: 2.188 kB / 1.046 GB, free: 53.78 MB / 0.698 GB Notification: Performance of Templates: time 0.002358/0.6292, allocations: 388.8 kB / 1.047 GB, free: 53.73 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)