Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.343/2.343, allocations: 254.9 MB / 269.9 MB, free: 9.641 MB / 218.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.001353/0.001353, allocations: 192.6 kB / 329.5 MB, free: 1.152 MB / 250.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 2.59/2.59, allocations: 225.6 MB / 0.6001 GB, free: 2.168 MB / 426.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.0009491/0.000949, allocations: 109.9 kB / 0.7074 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.000494, allocations: 15.47 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2263, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001981/0.2283, allocations: 1.213 MB / 0.932 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000777/0.2291, allocations: 391.4 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.2292, allocations: 3.938 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2292, allocations: 3.938 kB / 0.9323 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.577e-05/0.2293, allocations: 7.922 kB / 0.9323 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.2295, allocations: 15.98 kB / 0.9324 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.2296, allocations: 47.72 kB / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2297, allocations: 19.92 kB / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2299, allocations: 23.91 kB / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.23, allocations: 19.92 kB / 0.9325 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.23, allocations: 0 / 0.9325 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.23, allocations: 0 / 0.9325 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.23, allocations: 11.98 kB / 0.9325 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.2301, allocations: 29.64 kB / 0.9325 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.889e-05/0.2302, allocations: 28.23 kB / 0.9325 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2302, allocations: 4 kB / 0.9325 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2302, allocations: 0 / 0.9325 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.2302, allocations: 4 kB / 0.9325 GB, free: 23.3 MB / 0.5886 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.0005129/0.2307, allocations: 351.4 kB / 0.9329 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2308, allocations: 12.03 kB / 0.9329 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.2308, allocations: 4.844 kB / 0.9329 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2309, allocations: 176.3 kB / 0.9331 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.231, allocations: 384 / 0.9331 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.231, allocations: 4.375 kB / 0.9331 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.2312, allocations: 69.92 kB / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2313, allocations: 0 / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2313, allocations: 0 / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2313, allocations: 4 kB / 0.9331 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.2315, allocations: 39.97 kB / 0.9332 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.232, allocations: 280.8 kB / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.2321, allocations: 46.5 kB / 0.9335 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.2323, allocations: 32.94 kB / 0.9335 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2323, allocations: 0 / 0.9335 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2324, allocations: 30.56 kB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 3.025e-06/0.2324, allocations: 0 / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004759/0.2328, allocations: 109.6 kB / 0.9336 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2329, allocations: 51.41 kB / 0.9337 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.233, allocations: 121.8 kB / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.233, allocations: 25.7 kB / 0.9338 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.2331, allocations: 92.03 kB / 0.9339 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.2331, allocations: 7.906 kB / 0.9339 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.2331, allocations: 4 kB / 0.9339 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.2332, allocations: 322.7 kB / 0.9342 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2333, allocations: 19.98 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.2334, allocations: 24.17 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.2336, allocations: 24.06 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2336, allocations: 4 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002982/0.2339, allocations: 81.56 kB / 0.9344 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2339, allocations: 4 kB / 0.9344 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2339, allocations: 3.938 kB / 0.9344 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.234, allocations: 0 / 0.9344 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2341, allocations: 12 kB / 0.9344 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2342, allocations: 3.984 kB / 0.9344 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.552e-05/0.2343, allocations: 12 kB / 0.9344 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2343, allocations: 0 / 0.9344 GB, free: 21.15 MB / 0.5886 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.001e-05/0.2344, allocations: 117.7 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.2344, allocations: 0 / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.2345, allocations: 15.89 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2345, allocations: 0 / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2345, allocations: 4 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2345, allocations: 0 / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2347, allocations: 173.6 kB / 0.9347 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2347, allocations: 0 / 0.9347 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.2348, allocations: 11.98 kB / 0.9347 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2349, allocations: 4 kB / 0.9347 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2349, allocations: 0 / 0.9347 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2349, allocations: 0 / 0.9347 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2349, allocations: 0 / 0.9347 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.2352, allocations: 187.3 kB / 0.9349 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.2353, allocations: 88.95 kB / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2353, allocations: 0 / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2354, allocations: 7.984 kB / 0.935 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.2355, allocations: 11.94 kB / 0.935 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2356, allocations: 0 / 0.935 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.2356, allocations: 91.27 kB / 0.9351 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2356, allocations: 0 / 0.9351 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002751/0.2359, allocations: 8 kB / 0.9351 GB, free: 20.34 MB / 0.5886 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.000123/0.2361, allocations: 107.8 kB / 0.9352 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.2364, allocations: 47.95 kB / 0.9353 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2364, allocations: 0 / 0.9353 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.2365, allocations: 23.98 kB / 0.9353 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.2368, allocations: 11.94 kB / 0.9353 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.2373, allocations: 182.4 kB / 0.9355 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2374, allocations: 0.6809 MB / 0.9361 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.195e-05/0.2375, allocations: 4.281 kB / 0.9361 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.2375, allocations: 15.42 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/0.2375, allocations: 0 / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of Templates: time 0.002929/0.2405, allocations: 388.5 kB / 0.9365 GB, free: 18.83 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)