Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 91.67 kB / 20.94 MB, free: 3.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005593/0.005593, allocations: 161.1 kB / 24.38 MB, free: 9.164 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.063/1.063, allocations: 177.1 MB / 204.8 MB, free: 5.402 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.891/1.891, allocations: 389.6 MB / 0.6356 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.7756 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.289e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002698/0.002731, allocations: 1.61 MB / 0.7771 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006935/0.003424, allocations: 492 kB / 0.7776 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.003492, allocations: 3.375 kB / 0.7776 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.00353, allocations: 3.938 kB / 0.7776 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.003595, allocations: 17.17 kB / 0.7776 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.003808, allocations: 28.61 kB / 0.7777 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003942, allocations: 61.91 kB / 0.7777 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.004026, allocations: 15.97 kB / 0.7777 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.004165, allocations: 39.84 kB / 0.7778 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.004227, allocations: 17.14 kB / 0.7778 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.004243, allocations: 4 kB / 0.7778 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.89e-05/0.004302, allocations: 7.984 kB / 0.7778 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.004318, allocations: 12.83 kB / 0.7778 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.004337, allocations: 15.98 kB / 0.7778 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.004456, allocations: 43.77 kB / 0.7779 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.00446, allocations: 0.5938 kB / 0.7779 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.583e-06/0.004461, allocations: 1.125 kB / 0.7779 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.004466, allocations: 4 kB / 0.7779 GB, free: 2.836 MB / 0.7292 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.000359/0.004825, allocations: 256.8 kB / 0.7781 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.004863, allocations: 10.78 kB / 0.7781 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.005007, allocations: 24.91 kB / 0.7782 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.005147, allocations: 130.2 kB / 0.7783 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005156, allocations: 4.375 kB / 0.7783 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.005164, allocations: 1.031 kB / 0.7783 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.005267, allocations: 60.16 kB / 0.7783 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.005274, allocations: 192 / 0.7783 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.005281, allocations: 384 / 0.7783 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.005287, allocations: 7.938 kB / 0.7784 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.005308, allocations: 8.922 kB / 0.7784 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.005523, allocations: 156.8 kB / 0.7785 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.005607, allocations: 31.02 kB / 0.7785 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.005632, allocations: 12.92 kB / 0.7786 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.00565, allocations: 1.656 kB / 0.7786 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.005678, allocations: 30.66 kB / 0.7786 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.005681, allocations: 4 kB / 0.7786 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001535/0.005834, allocations: 49.55 kB / 0.7786 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.005867, allocations: 56.09 kB / 0.7787 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/0.005938, allocations: 121.3 kB / 0.7788 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.005947, allocations: 30.67 kB / 0.7788 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.00598, allocations: 88.12 kB / 0.7789 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.006003, allocations: 21.61 kB / 0.7789 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.006028, allocations: 9.719 kB / 0.7789 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.006198, allocations: 322.8 kB / 0.7793 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.006213, allocations: 4 kB / 0.7793 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.006224, allocations: 192 / 0.7793 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.511e-05/0.006259, allocations: 21.52 kB / 0.7793 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006261, allocations: 0 / 0.7793 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.2e-05/0.006313, allocations: 43.22 kB / 0.7793 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.006327, allocations: 4 kB / 0.7793 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.006333, allocations: 7.938 kB / 0.7793 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.006342, allocations: 0 / 0.7793 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.006411, allocations: 8.797 kB / 0.7793 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.006416, allocations: 3.984 kB / 0.7793 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.006436, allocations: 8.875 kB / 0.7794 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.006442, allocations: 0 / 0.7794 GB, free: 1.188 MB / 0.7292 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 5.224e-05/0.006494, allocations: 106.4 kB / 0.7795 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.006508, allocations: 8.766 kB / 0.7795 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.006533, allocations: 15.94 kB / 0.7795 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.006534, allocations: 1.094 kB / 0.7795 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.006537, allocations: 0 / 0.7795 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006539, allocations: 0 / 0.7795 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.158e-05/0.006631, allocations: 79.34 kB / 0.7796 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.006632, allocations: 0 / 0.7796 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.006664, allocations: 11.98 kB / 0.7796 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006665, allocations: 0 / 0.7796 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-06/0.00667, allocations: 1.031 kB / 0.7796 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.00667, allocations: 3.938 kB / 0.7796 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.006672, allocations: 3.938 kB / 0.7796 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.754e-05/0.00676, allocations: 136.5 kB / 0.7797 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.006768, allocations: 7.953 kB / 0.7797 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.006777, allocations: 3.984 kB / 0.7797 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.00681, allocations: 8.5 kB / 0.7797 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.00684, allocations: 4.469 kB / 0.7797 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.006843, allocations: 0.5938 kB / 0.7797 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.077e-05/0.006864, allocations: 24.83 kB / 0.7798 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.006864, allocations: 0.6875 kB / 0.7798 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001146/0.006979, allocations: 4 kB / 0.7798 GB, free: 0.7383 MB / 0.7292 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 8.971e-05/0.007069, allocations: 88.72 kB / 0.7798 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.299e-05/0.007131, allocations: 20.8 kB / 0.7799 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.007134, allocations: 0 / 0.7799 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.57e-05/0.007149, allocations: 13.91 kB / 0.7799 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.007266, allocations: 6.062 kB / 0.7799 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.007761, allocations: 179.2 kB / 0.7801 GB, free: 416 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.007794, allocations: 55.36 kB / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.007818, allocations: 3.031 kB / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.007862, allocations: 55.36 kB / 0.7802 GB, free: 284 kB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.007862, allocations: 0 / 0.7802 GB, free: 284 kB / 0.7292 GB Notification: Performance of Templates: time 0.002079/0.009941, allocations: 462 kB / 0.7806 GB, free: 15.84 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & (cd run_cvode && ../Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.072798246517777]