Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009083/0.0009083, allocations: 96.2 kB / 20.43 MB, free: 4.137 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.0008846/0.0008846, allocations: 165 kB / 23.8 MB, free: 0.7656 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.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6193/0.6193, allocations: 114.9 MB / 375.7 MB, free: 7.656 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 481.5 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.483e-05/3.718e-05, allocations: 3.5 kB / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002946/0.002983, allocations: 1.559 MB / 483.1 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.003903, allocations: 493.5 kB / 483.5 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.003992, allocations: 1.656 kB / 483.5 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.004037, allocations: 8.312 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.961e-05/0.004116, allocations: 9.094 kB / 483.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.00446, allocations: 38.33 kB / 483.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.004621, allocations: 57.23 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.004751, allocations: 10.8 kB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.004962, allocations: 38.78 kB / 483.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.005049, allocations: 19.34 kB / 483.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.005071, allocations: 3.812 kB / 483.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.005133, allocations: 9.281 kB / 483.7 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.005148, allocations: 5.125 kB / 483.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.005183, allocations: 18.42 kB / 483.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.005344, allocations: 43.94 kB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.005348, allocations: 5.172 kB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.00535, allocations: 0 / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.005357, allocations: 1.469 kB / 483.8 MB, free: 10.36 MB / 410.7 MB 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.0005515/0.005908, allocations: 387.8 kB / 484.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.005972, allocations: 9.875 kB / 484.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.006198, allocations: 34.73 kB / 484.2 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.006389, allocations: 132.6 kB / 484.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.006403, allocations: 1.5 kB / 484.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.006418, allocations: 2.562 kB / 484.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.006578, allocations: 62.53 kB / 484.4 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.006591, allocations: 1.125 kB / 484.4 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.006603, allocations: 0.5625 kB / 484.4 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.006614, allocations: 2.562 kB / 484.4 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.399e-05/0.006658, allocations: 7.328 kB / 484.4 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.007019, allocations: 269.6 kB / 484.7 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.106e-05/0.00711, allocations: 37.66 kB / 484.7 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.007144, allocations: 10.75 kB / 484.7 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.007166, allocations: 2.562 kB / 484.8 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.007192, allocations: 35.58 kB / 484.8 MB, free: 9.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.007193, allocations: 0 / 484.8 MB, free: 9.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002247/0.007418, allocations: 57.92 kB / 484.8 MB, free: 9.355 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.007445, allocations: 52.53 kB / 484.9 MB, free: 9.293 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.007798, allocations: 181.8 kB / 485.1 MB, free: 25.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.00781, allocations: 25.7 kB / 485.1 MB, free: 25.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.007878, allocations: 134.3 kB / 485.2 MB, free: 24.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.007906, allocations: 19.97 kB / 485.2 MB, free: 24.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.007946, allocations: 17.91 kB / 485.3 MB, free: 24.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.008101, allocations: 0.4909 MB / 485.8 MB, free: 24.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.008127, allocations: 2.188 kB / 485.8 MB, free: 24.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.008146, allocations: 2.188 kB / 485.8 MB, free: 24.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.264e-05/0.008208, allocations: 27.08 kB / 485.8 MB, free: 24.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.008211, allocations: 0 / 485.8 MB, free: 24.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001007/0.008311, allocations: 53.8 kB / 485.8 MB, free: 24.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.008331, allocations: 11.72 kB / 485.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.008337, allocations: 0 / 485.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.008357, allocations: 1.656 kB / 485.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/0.008455, allocations: 9.422 kB / 485.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.008462, allocations: 1.094 kB / 485.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.008492, allocations: 2.312 kB / 485.9 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.008501, allocations: 5.922 kB / 485.9 MB, free: 24.35 MB / 426.7 MB 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 8.919e-05/0.00859, allocations: 162.5 kB / 486 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.008622, allocations: 3.969 kB / 486 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.008666, allocations: 9.75 kB / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008669, allocations: 0 / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.008675, allocations: 2.719 kB / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.008679, allocations: 0 / 486 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.00882, allocations: 135.5 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.008822, allocations: 1.188 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.008878, allocations: 10.69 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.008882, allocations: 4 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.008894, allocations: 4.547 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.008897, allocations: 0.75 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.008899, allocations: 0.875 kB / 486.2 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.009102, allocations: 193.8 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.009117, allocations: 7.828 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.009137, allocations: 0 / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.009202, allocations: 5.609 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.009259, allocations: 2.625 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.009265, allocations: 5.297 kB / 486.4 MB, free: 23.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.357e-05/0.009348, allocations: 139.6 kB / 486.5 MB, free: 23.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009348, allocations: 0 / 486.5 MB, free: 23.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.009592, allocations: 7.719 kB / 486.6 MB, free: 23.7 MB / 426.7 MB 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.0001522/0.009744, allocations: 101.6 kB / 486.7 MB, free: 23.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.009882, allocations: 19.48 kB / 486.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.009885, allocations: 2 kB / 486.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.009915, allocations: 15.36 kB / 486.7 MB, free: 23.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.01019, allocations: 12.88 kB / 486.7 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008693/0.01106, allocations: 177.2 kB / 486.9 MB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.0111, allocations: 58.72 kB / 486.9 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.925e-05/0.01114, allocations: 6.125 kB / 486.9 MB, free: 23.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.01119, allocations: 12.16 kB / 486.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.863e-06/0.01119, allocations: 1.125 kB / 486.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of Templates: time 0.003248/0.01444, allocations: 483.5 kB / 487.4 MB, free: 23.3 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7869551912881434]