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.0007225/0.0007225, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002173, allocations: 452 kB / 10.43 MB, free: 268 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.001047/0.001047, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002428, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 1.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08746/1.095, allocations: 53.66 MB / 243.4 MB, free: 15.53 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.649/0.649, allocations: 120.1 MB / 364.2 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07489/0.7239, allocations: 38.16 MB / 402.4 MB, free: 12.28 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.443e-06/1.443e-06, allocations: 0 / 403.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.838e-05, allocations: 6.25 kB / 403.7 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00219/0.002209, allocations: 1.607 MB / 405.3 MB, free: 9.328 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003641/0.00585, allocations: 490.6 kB / 405.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.005898, allocations: 4 kB / 405.8 MB, free: 8.844 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.00592, allocations: 3.938 kB / 405.8 MB, free: 8.84 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.28e-05/0.005952, allocations: 7.875 kB / 405.8 MB, free: 8.832 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001161/0.006069, allocations: 39.88 kB / 405.9 MB, free: 8.793 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.006169, allocations: 63.73 kB / 405.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.936e-05/0.006238, allocations: 11.98 kB / 405.9 MB, free: 8.719 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.006366, allocations: 43.83 kB / 406 MB, free: 8.676 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.247e-05/0.006429, allocations: 19.92 kB / 406 MB, free: 8.656 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.006447, allocations: 4 kB / 406 MB, free: 8.652 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.432e-05/0.006502, allocations: 8 kB / 406 MB, free: 8.645 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.006516, allocations: 7.938 kB / 406 MB, free: 8.637 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.006535, allocations: 8 kB / 406 MB, free: 8.629 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.006639, allocations: 39.84 kB / 406.1 MB, free: 8.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.00665, allocations: 3.984 kB / 406.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006651, allocations: 0 / 406.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.006662, allocations: 4 kB / 406.1 MB, free: 8.582 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.0003627/0.007025, allocations: 272.4 kB / 406.3 MB, free: 8.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.007057, allocations: 11.97 kB / 406.4 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.007235, allocations: 102 kB / 406.5 MB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.00737, allocations: 121.6 kB / 406.6 MB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-06/0.007378, allocations: 4.375 kB / 406.6 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.00739, allocations: 8.375 kB / 406.6 MB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.751e-05/0.007488, allocations: 58.5 kB / 406.6 MB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.007494, allocations: 4 kB / 406.6 MB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.007502, allocations: 4 kB / 406.7 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.007506, allocations: 0 / 406.7 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.007529, allocations: 11.98 kB / 406.7 MB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.007724, allocations: 156.2 kB / 406.8 MB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.476e-05/0.007778, allocations: 22.58 kB / 406.8 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.007796, allocations: 12.8 kB / 406.9 MB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.007807, allocations: 0 / 406.9 MB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.007826, allocations: 34.5 kB / 406.9 MB, free: 7.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.007826, allocations: 4 kB / 406.9 MB, free: 7.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001157/0.007942, allocations: 49.7 kB / 406.9 MB, free: 7.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.007967, allocations: 51.41 kB / 407 MB, free: 7.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.008032, allocations: 126.7 kB / 407.1 MB, free: 7.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.008042, allocations: 25.7 kB / 407.1 MB, free: 7.375 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.008074, allocations: 88.12 kB / 407.2 MB, free: 7.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.008095, allocations: 15.89 kB / 407.2 MB, free: 7.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.008123, allocations: 9.719 kB / 407.2 MB, free: 7.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.008205, allocations: 326.8 kB / 407.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.008215, allocations: 0 / 407.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/0.008226, allocations: 4 kB / 407.6 MB, free: 6.922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.008254, allocations: 17.12 kB / 407.6 MB, free: 6.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.008256, allocations: 7.938 kB / 407.6 MB, free: 6.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001175/0.009431, allocations: 45.61 kB / 407.6 MB, free: 6.844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.00945, allocations: 4 kB / 407.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.009457, allocations: 0 / 407.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.009475, allocations: 4 kB / 407.6 MB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.009572, allocations: 7.984 kB / 407.7 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.009576, allocations: 0 / 407.7 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.009608, allocations: 4 kB / 407.7 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.009614, allocations: 0 / 407.7 MB, free: 6.824 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 5.842e-05/0.009673, allocations: 109.8 kB / 407.8 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.009692, allocations: 11.92 kB / 407.8 MB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.009717, allocations: 12 kB / 407.8 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.009719, allocations: 0 / 407.8 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.00972, allocations: 0 / 407.8 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.009723, allocations: 0 / 407.8 MB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.009823, allocations: 73.88 kB / 407.9 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.009824, allocations: 0 / 407.9 MB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.009863, allocations: 15.92 kB / 407.9 MB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.009876, allocations: 19.83 kB / 407.9 MB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009878, allocations: 4 kB / 407.9 MB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.009883, allocations: 4 kB / 407.9 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.009884, allocations: 0 / 407.9 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.009885, allocations: 0 / 407.9 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.009989, allocations: 143.5 kB / 408 MB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.009997, allocations: 3.938 kB / 408 MB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.01005, allocations: 4 kB / 408.1 MB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.01008, allocations: 0 / 408.1 MB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.01008, allocations: 3.984 kB / 408.1 MB, free: 6.383 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.056e-05/0.0101, allocations: 20.84 kB / 408.1 MB, free: 6.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0101, allocations: 0 / 408.1 MB, free: 6.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001141/0.01022, allocations: 16 kB / 408.1 MB, free: 6.344 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 9.09e-05/0.01031, allocations: 84.34 kB / 408.2 MB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.355e-05/0.01037, allocations: 12.86 kB / 408.2 MB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.01038, allocations: 3.984 kB / 408.2 MB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-05/0.0104, allocations: 12.86 kB / 408.2 MB, free: 6.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.01052, allocations: 12 kB / 408.2 MB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.01163, allocations: 188.2 kB / 408.4 MB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.01167, allocations: 59.34 kB / 408.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.509e-05/0.0117, allocations: 0 / 408.5 MB, free: 5.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.01175, allocations: 51.38 kB / 408.5 MB, free: 5.863 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01175, allocations: 0 / 408.5 MB, free: 5.863 MB / 394.7 MB Notification: Performance of Templates: time 0.001962/0.01371, allocations: 0.5124 MB / 409 MB, free: 5.344 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.089724591933191]