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.001278/0.001278, allocations: 75.05 kB / 20.51 MB, free: 1.281 MB / 14.72 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.001401/0.001401, allocations: 167.5 kB / 23.77 MB, free: 4.461 MB / 14.72 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.438/1.438, allocations: 177.2 MB / 204.1 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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.915/0.915, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 69.58 kB / 0.555 GB, free: 2.711 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1981, allocations: 89.15 MB / 0.6421 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003182/0.2013, allocations: 1.517 MB / 0.6436 GB, free: 8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2023, allocations: 458.9 kB / 0.644 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.2024, allocations: 0 / 0.644 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.2024, allocations: 11.86 kB / 0.644 GB, free: 7.539 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.232e-05/0.2025, allocations: 15.86 kB / 0.644 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.2028, allocations: 31.89 kB / 0.6441 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.203, allocations: 55.73 kB / 0.6441 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2031, allocations: 15.98 kB / 0.6441 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.2033, allocations: 31.84 kB / 0.6442 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.2033, allocations: 19.92 kB / 0.6442 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.2034, allocations: 8 kB / 0.6442 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.165e-05/0.2034, allocations: 4 kB / 0.6442 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.2034, allocations: 15.92 kB / 0.6442 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.2035, allocations: 15.88 kB / 0.6442 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2036, allocations: 55.73 kB / 0.6443 GB, free: 7.273 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2036, allocations: 0 / 0.6443 GB, free: 7.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2036, allocations: 0 / 0.6443 GB, free: 7.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2037, allocations: 0 / 0.6443 GB, free: 7.273 MB / 0.545 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.0005832/0.2042, allocations: 294.1 kB / 0.6446 GB, free: 6.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2043, allocations: 12.03 kB / 0.6446 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.2045, allocations: 28.86 kB / 0.6446 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.2048, allocations: 130.4 kB / 0.6447 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2048, allocations: 384 / 0.6447 GB, free: 6.766 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.2048, allocations: 7.938 kB / 0.6447 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.205, allocations: 53.67 kB / 0.6448 GB, free: 6.699 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.205, allocations: 3.938 kB / 0.6448 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2051, allocations: 0 / 0.6448 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2051, allocations: 0 / 0.6448 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.2052, allocations: 35.97 kB / 0.6448 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.2056, allocations: 220.6 kB / 0.645 GB, free: 6.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.2057, allocations: 34.56 kB / 0.6451 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.257e-05/0.2058, allocations: 28.88 kB / 0.6451 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2058, allocations: 0 / 0.6451 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.2059, allocations: 38.56 kB / 0.6451 GB, free: 6.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.2059, allocations: 0 / 0.6451 GB, free: 6.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003505/0.2062, allocations: 89.61 kB / 0.6452 GB, free: 6.199 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.2063, allocations: 51.41 kB / 0.6453 GB, free: 6.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.2064, allocations: 125.8 kB / 0.6454 GB, free: 6.004 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.2064, allocations: 25.7 kB / 0.6454 GB, free: 5.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.2065, allocations: 88.14 kB / 0.6455 GB, free: 5.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.2065, allocations: 19.83 kB / 0.6455 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.2066, allocations: 13.72 kB / 0.6455 GB, free: 5.844 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2067, allocations: 326.8 kB / 0.6458 GB, free: 5.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/0.2068, allocations: 19.94 kB / 0.6459 GB, free: 5.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.595e-05/0.2069, allocations: 23.92 kB / 0.6459 GB, free: 5.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.207, allocations: 45.09 kB / 0.6459 GB, free: 5.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.207, allocations: 0 / 0.6459 GB, free: 5.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001878/0.2072, allocations: 73.66 kB / 0.646 GB, free: 5.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2072, allocations: 4 kB / 0.646 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2072, allocations: 0 / 0.646 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2072, allocations: 4 kB / 0.646 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.2073, allocations: 11.98 kB / 0.646 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.2073, allocations: 0 / 0.646 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.2074, allocations: 11.89 kB / 0.646 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2074, allocations: 3.938 kB / 0.646 GB, free: 5.312 MB / 0.545 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 0.0001006/0.2075, allocations: 117.1 kB / 0.6461 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.2075, allocations: 3.984 kB / 0.6461 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.2076, allocations: 12 kB / 0.6462 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2076, allocations: 0 / 0.6462 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2076, allocations: 0 / 0.6462 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2076, allocations: 4 kB / 0.6462 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.2077, allocations: 121.2 kB / 0.6463 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2077, allocations: 0 / 0.6463 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.2078, allocations: 7.984 kB / 0.6463 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.2078, allocations: 4 kB / 0.6463 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.2078, allocations: 0 / 0.6463 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2078, allocations: 0 / 0.6463 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2078, allocations: 0 / 0.6463 GB, free: 5.004 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.2081, allocations: 171.4 kB / 0.6464 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.225e-05/0.2081, allocations: 15.89 kB / 0.6465 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.2081, allocations: 4 kB / 0.6465 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.2082, allocations: 3.984 kB / 0.6465 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.2082, allocations: 4 kB / 0.6465 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.2082, allocations: 0 / 0.6465 GB, free: 4.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.023e-05/0.2083, allocations: 97.77 kB / 0.6466 GB, free: 4.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2083, allocations: 0 / 0.6466 GB, free: 4.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002311/0.2085, allocations: 12 kB / 0.6466 GB, free: 4.688 MB / 0.545 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 0.0001112/0.2086, allocations: 95.23 kB / 0.6467 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.2088, allocations: 39.97 kB / 0.6467 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2088, allocations: 0 / 0.6467 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/0.2089, allocations: 23.92 kB / 0.6467 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.2091, allocations: 16.03 kB / 0.6467 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.2096, allocations: 173.2 kB / 0.6469 GB, free: 4.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.247e-05/0.2097, allocations: 75.33 kB / 0.647 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.2097, allocations: 8.219 kB / 0.647 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.2097, allocations: 8.5 kB / 0.647 GB, free: 4.207 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.2097, allocations: 0 / 0.647 GB, free: 4.207 MB / 0.545 GB Notification: Performance of Templates: time 0.002913/0.2127, allocations: 456.8 kB / 0.6474 GB, free: 3.762 MB / 0.545 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.520264671067707] Failed to read output from testmodel.py, exit status != 0: 0.22139413410332054 0.23664183000000003 0.029721795000000002 Calling exit ...