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.000974/0.000974, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001661/0.001661, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 0.959/0.959, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.956/1.956, allocations: 389.6 MB / 0.6354 GB, free: 12.28 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.954e-06/1.954e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.421e-05, allocations: 3.516 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001919/0.001944, allocations: 1.573 MB / 0.7767 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006463/0.00259, allocations: 488.1 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.002644, allocations: 0 / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.002673, allocations: 7.875 kB / 0.7772 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.647e-05/0.002729, allocations: 12.97 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.002926, allocations: 36.97 kB / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003029, allocations: 56.94 kB / 0.7773 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.003105, allocations: 15.97 kB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.00323, allocations: 43.83 kB / 0.7773 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.547e-05/0.003286, allocations: 19.92 kB / 0.7774 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.003302, allocations: 4 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.841e-05/0.00334, allocations: 4 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.003354, allocations: 15.8 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.003372, allocations: 15.98 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.892e-05/0.003461, allocations: 35.84 kB / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003463, allocations: 0 / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003464, allocations: 0 / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.003467, allocations: 0 / 0.7774 GB, free: 3.102 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.0002917/0.003759, allocations: 272.7 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.003789, allocations: 9.344 kB / 0.7777 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.003901, allocations: 23.8 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.004015, allocations: 125.7 kB / 0.7778 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.004023, allocations: 4.359 kB / 0.7778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.004033, allocations: 8.375 kB / 0.7778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.53e-05/0.004118, allocations: 58.88 kB / 0.7779 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.004124, allocations: 4.125 kB / 0.7779 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.00413, allocations: 384 / 0.7779 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004135, allocations: 4.875 kB / 0.7779 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.004152, allocations: 4 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.004336, allocations: 161.5 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.307e-05/0.004389, allocations: 34.56 kB / 0.7781 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.004405, allocations: 9.859 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.004415, allocations: 0 / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.004432, allocations: 30.56 kB / 0.7781 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.004433, allocations: 0.5938 kB / 0.7781 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001015/0.004534, allocations: 45.72 kB / 0.7782 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.004562, allocations: 51.91 kB / 0.7782 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.00462, allocations: 129.9 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.00463, allocations: 29.7 kB / 0.7784 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.004655, allocations: 89.58 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.004673, allocations: 15.88 kB / 0.7785 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.004694, allocations: 17.66 kB / 0.7785 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.548e-05/0.00476, allocations: 314.8 kB / 0.7788 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.00477, allocations: 4.578 kB / 0.7788 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-06/0.004779, allocations: 4.625 kB / 0.7788 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.004805, allocations: 16.83 kB / 0.7788 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.004808, allocations: 5.125 kB / 0.7788 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.57e-05/0.004854, allocations: 37.69 kB / 0.7789 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.004864, allocations: 4 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.004868, allocations: 5.156 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.004879, allocations: 0 / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.711e-05/0.004936, allocations: 15.94 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.004939, allocations: 0.9375 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.00496, allocations: 7.984 kB / 0.7789 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.004965, allocations: 0.9062 kB / 0.7789 GB, free: 1.445 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 4.6e-05/0.005011, allocations: 105.8 kB / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.005025, allocations: 4.5 kB / 0.779 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.005044, allocations: 12.81 kB / 0.779 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.005048, allocations: 7.984 kB / 0.779 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.005049, allocations: 0 / 0.779 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005051, allocations: 2.047 kB / 0.779 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.786e-05/0.005129, allocations: 77.83 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.005132, allocations: 3.984 kB / 0.7791 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.005153, allocations: 4 kB / 0.7791 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.005156, allocations: 8.672 kB / 0.7791 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-06/0.00516, allocations: 0 / 0.7791 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.005161, allocations: 0.5 kB / 0.7791 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.005163, allocations: 5.719 kB / 0.7791 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.366e-05/0.005236, allocations: 139.5 kB / 0.7793 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.005245, allocations: 7.953 kB / 0.7793 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.005255, allocations: 4 kB / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.005285, allocations: 0 / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.005311, allocations: 12.73 kB / 0.7793 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.005314, allocations: 0 / 0.7793 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.639e-05/0.00533, allocations: 21.39 kB / 0.7793 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.00533, allocations: 0 / 0.7793 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001124/0.005443, allocations: 9.469 kB / 0.7793 GB, free: 0.9883 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 7.057e-05/0.005513, allocations: 80.42 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.124e-05/0.005565, allocations: 17.72 kB / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.005567, allocations: 0 / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.005582, allocations: 17.67 kB / 0.7794 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.658e-05/0.005679, allocations: 2.062 kB / 0.7794 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.006089, allocations: 182.6 kB / 0.7796 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.006124, allocations: 63.28 kB / 0.7797 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.006143, allocations: 1.281 kB / 0.7797 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.006178, allocations: 51.38 kB / 0.7797 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/0.006179, allocations: 0.5625 kB / 0.7797 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of Templates: time 0.001735/0.007913, allocations: 456.5 kB / 0.7801 GB, free: 104 kB / 0.7292 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 & ./Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.037678641267121]