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.001123/0.001123, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001897/0.00302, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001096/0.001096, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002511, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9133/0.9133, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09783/1.011, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.617/0.617, allocations: 119.1 MB / 363.1 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06335/0.6803, allocations: 37.86 MB / 400.9 MB, free: 13.75 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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 1.252e-06/1.252e-06, allocations: 0 / 402.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.905e-05, allocations: 2.312 kB / 402.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002023/0.002042, allocations: 1.596 MB / 403.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006159/0.002658, allocations: 490.7 kB / 404.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.002705, allocations: 4 kB / 404.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.002728, allocations: 3.938 kB / 404.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.109e-05/0.002759, allocations: 7.875 kB / 404.3 MB, free: 10.33 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.002877, allocations: 39.88 kB / 404.4 MB, free: 10.29 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.969e-05/0.002967, allocations: 51.73 kB / 404.4 MB, free: 10.24 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.003042, allocations: 19.92 kB / 404.4 MB, free: 10.22 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.003183, allocations: 47.89 kB / 404.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.00324, allocations: 19.92 kB / 404.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.003256, allocations: 4 kB / 404.5 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.744e-05/0.003313, allocations: 8 kB / 404.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.003326, allocations: 7.938 kB / 404.5 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.003343, allocations: 8 kB / 404.5 MB, free: 10.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.003448, allocations: 47.77 kB / 404.6 MB, free: 10.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.003463, allocations: 0 / 404.6 MB, free: 10.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003463, allocations: 0 / 404.6 MB, free: 10.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.00348, allocations: 0 / 404.6 MB, free: 10.08 MB / 394.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.0003735/0.003853, allocations: 280.3 kB / 404.8 MB, free: 9.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.003884, allocations: 8.031 kB / 404.9 MB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.004053, allocations: 102 kB / 405 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.00419, allocations: 117.7 kB / 405.1 MB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.0042, allocations: 4.375 kB / 405.1 MB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.004208, allocations: 8.312 kB / 405.1 MB, free: 9.504 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.00432, allocations: 62.5 kB / 405.1 MB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.004328, allocations: 0 / 405.1 MB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.004336, allocations: 4 kB / 405.1 MB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.004341, allocations: 4 kB / 405.1 MB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.004366, allocations: 11.92 kB / 405.2 MB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.004577, allocations: 156.2 kB / 405.3 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.004637, allocations: 26.64 kB / 405.3 MB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.004654, allocations: 12.8 kB / 405.4 MB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.004668, allocations: 0 / 405.4 MB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.00469, allocations: 38.58 kB / 405.4 MB, free: 9.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.004691, allocations: 0 / 405.4 MB, free: 9.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001044/0.004796, allocations: 41.69 kB / 405.4 MB, free: 9.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.004822, allocations: 55.41 kB / 405.5 MB, free: 9.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.004884, allocations: 126.7 kB / 405.6 MB, free: 8.898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.004894, allocations: 25.7 kB / 405.6 MB, free: 8.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.004925, allocations: 92.11 kB / 405.7 MB, free: 8.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.004943, allocations: 7.906 kB / 405.7 MB, free: 8.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.004971, allocations: 13.72 kB / 405.7 MB, free: 8.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.005047, allocations: 322.8 kB / 406.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.005058, allocations: 0 / 406.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.005068, allocations: 4 kB / 406.1 MB, free: 8.418 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.82e-05/0.005096, allocations: 20.78 kB / 406.1 MB, free: 8.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.005099, allocations: 4 kB / 406.1 MB, free: 8.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.697e-05/0.005146, allocations: 45.95 kB / 406.1 MB, free: 8.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.005156, allocations: 4 kB / 406.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005161, allocations: 0 / 406.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.005169, allocations: 0 / 406.1 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.005238, allocations: 11.98 kB / 406.1 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.00524, allocations: 0 / 406.1 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.00526, allocations: 4 kB / 406.2 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.005265, allocations: 0 / 406.2 MB, free: 8.32 MB / 394.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 4.951e-05/0.005314, allocations: 113.8 kB / 406.3 MB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.00533, allocations: 11.92 kB / 406.3 MB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.005349, allocations: 16 kB / 406.3 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005351, allocations: 0 / 406.3 MB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005352, allocations: 3.938 kB / 406.3 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.005355, allocations: 0 / 406.3 MB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.427e-05/0.005439, allocations: 73.88 kB / 406.4 MB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.00544, allocations: 0 / 406.4 MB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.005469, allocations: 11.98 kB / 406.4 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.005476, allocations: 11.83 kB / 406.4 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005477, allocations: 4 kB / 406.4 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-06/0.005481, allocations: 0 / 406.4 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.005483, allocations: 8 kB / 406.4 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005484, allocations: 0 / 406.4 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.898e-05/0.005563, allocations: 139.5 kB / 406.5 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.005573, allocations: 3.938 kB / 406.5 MB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.378e-05/0.005606, allocations: 11.94 kB / 406.6 MB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.005631, allocations: 3.984 kB / 406.6 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/0.005634, allocations: 0 / 406.6 MB, free: 7.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.723e-05/0.005651, allocations: 25.33 kB / 406.6 MB, free: 7.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005651, allocations: 0 / 406.6 MB, free: 7.848 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001104/0.005761, allocations: 12 kB / 406.6 MB, free: 7.836 MB / 394.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 8.137e-05/0.005843, allocations: 76.42 kB / 406.7 MB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.005917, allocations: 16.84 kB / 406.7 MB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.005924, allocations: 4 kB / 406.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.005943, allocations: 12.8 kB / 406.7 MB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.006051, allocations: 4 kB / 406.7 MB, free: 7.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.007167, allocations: 184.4 kB / 406.9 MB, free: 7.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.369e-05/0.007201, allocations: 63.2 kB / 406.9 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.389e-05/0.007224, allocations: 7.938 kB / 407 MB, free: 7.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.007264, allocations: 47.38 kB / 407 MB, free: 7.363 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.007264, allocations: 0 / 407 MB, free: 7.363 MB / 394.7 MB Notification: Performance of Templates: time 0.00183/0.009095, allocations: 461.3 kB / 407.5 MB, free: 6.914 MB / 394.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.045101271942258]