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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 121.3 kB / 17.81 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 189.4 kB / 20.74 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.2 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] 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.8838/0.8838, allocations: 128.4 MB / 432.4 MB, free: 13.14 MB / 350.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001972/0.001972, allocations: 63.91 kB / 0.5987 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4721, allocations: 83.26 MB / 0.68 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002331/0.4744, allocations: 1.508 MB / 0.6815 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006061/0.475, allocations: 422.1 kB / 0.6819 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.4751, allocations: 1.031 kB / 0.6819 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.4751, allocations: 7.922 kB / 0.6819 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.4752, allocations: 13.91 kB / 0.6819 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.4754, allocations: 22.16 kB / 0.6819 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.61e-05/0.4755, allocations: 57.44 kB / 0.682 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4756, allocations: 6.469 kB / 0.682 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.496e-05/0.4757, allocations: 22.11 kB / 0.682 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.4757, allocations: 23.59 kB / 0.6821 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.4757, allocations: 2.781 kB / 0.6821 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.4758, allocations: 4.062 kB / 0.6821 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.4758, allocations: 12.98 kB / 0.6821 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.4758, allocations: 26.48 kB / 0.6821 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.882e-05/0.4759, allocations: 42.86 kB / 0.6821 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4759, allocations: 0 / 0.6821 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4759, allocations: 3.938 kB / 0.6821 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4759, allocations: 1.25 kB / 0.6821 GB, free: 5.387 MB / 0.4981 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.0004419/0.4764, allocations: 364 kB / 0.6825 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4764, allocations: 8.906 kB / 0.6825 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.4764, allocations: 7.266 kB / 0.6825 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.203e-05/0.4765, allocations: 184.1 kB / 0.6827 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4765, allocations: 2.031 kB / 0.6827 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.4766, allocations: 9.562 kB / 0.6827 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.4767, allocations: 55.45 kB / 0.6827 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4767, allocations: 0 / 0.6827 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.4767, allocations: 0 / 0.6827 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4767, allocations: 1.094 kB / 0.6827 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.4769, allocations: 44.39 kB / 0.6828 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.4772, allocations: 273.3 kB / 0.683 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.4773, allocations: 40.91 kB / 0.6831 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.4774, allocations: 23.19 kB / 0.6831 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.4774, allocations: 0 / 0.6831 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.4774, allocations: 39.95 kB / 0.6831 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.4774, allocations: 0 / 0.6831 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000295/0.4777, allocations: 91.92 kB / 0.6832 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.4777, allocations: 52.72 kB / 0.6833 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.4778, allocations: 116.3 kB / 0.6834 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.4778, allocations: 25.7 kB / 0.6834 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.4779, allocations: 90.69 kB / 0.6835 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.4779, allocations: 13.81 kB / 0.6835 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.4779, allocations: 16.16 kB / 0.6835 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.4779, allocations: 320.1 kB / 0.6838 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.478, allocations: 17.67 kB / 0.6839 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.467e-05/0.4781, allocations: 17.45 kB / 0.6839 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.4782, allocations: 45.17 kB / 0.6839 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4782, allocations: 5.094 kB / 0.6839 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001532/0.4783, allocations: 66.58 kB / 0.684 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4784, allocations: 5.406 kB / 0.684 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4784, allocations: 1.094 kB / 0.684 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4784, allocations: 0 / 0.684 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.4785, allocations: 10.52 kB / 0.684 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4785, allocations: 1.031 kB / 0.684 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.4785, allocations: 7.234 kB / 0.684 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4785, allocations: 8.969 kB / 0.684 GB, free: 3.492 MB / 0.4981 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.385e-05/0.4786, allocations: 112 kB / 0.6841 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.4786, allocations: 14.11 kB / 0.6841 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.4786, allocations: 6.062 kB / 0.6841 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.4786, allocations: 0 / 0.6841 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.4786, allocations: 0.9375 kB / 0.6841 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4786, allocations: 0 / 0.6841 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4788, allocations: 179.1 kB / 0.6843 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4788, allocations: 0 / 0.6843 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.4788, allocations: 10.34 kB / 0.6843 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4788, allocations: 9.016 kB / 0.6843 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.4788, allocations: 0 / 0.6843 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4788, allocations: 1.125 kB / 0.6843 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4788, allocations: 4 kB / 0.6843 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.479, allocations: 170.7 kB / 0.6845 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.479, allocations: 83.16 kB / 0.6846 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.4791, allocations: 0 / 0.6846 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.4791, allocations: 7.922 kB / 0.6846 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.4792, allocations: 9.375 kB / 0.6846 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.4792, allocations: 1.25 kB / 0.6846 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.4792, allocations: 99.86 kB / 0.6847 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4792, allocations: 0 / 0.6847 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002133/0.4794, allocations: 11.14 kB / 0.6847 GB, free: 2.766 MB / 0.4981 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.845e-05/0.4795, allocations: 99.97 kB / 0.6848 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.4797, allocations: 42.56 kB / 0.6848 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4797, allocations: 0.9375 kB / 0.6848 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.4798, allocations: 16.11 kB / 0.6849 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.48, allocations: 5.219 kB / 0.6849 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.4803, allocations: 193.5 kB / 0.685 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.4805, allocations: 0.6895 MB / 0.6857 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.4805, allocations: 9.75 kB / 0.6857 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4805, allocations: 0 / 0.6857 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of Templates: time 0.002093/0.4826, allocations: 0.7092 MB / 0.6864 GB, free: 1.398 MB / 0.4981 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.94291742797941] Failed to read output from testmodel.py, exit status != 0: 0.4906777520664036 0.502676167 0.024052529000000003 Calling exit ...