Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.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.001554/0.001554, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001706/0.001706, allocations: 215.6 kB / 22.99 MB, free: 4.977 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.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.9948/0.9948, allocations: 149.9 MB / 463 MB, free: 10.31 MB / 366.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.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule") [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.002125/0.002125, allocations: 66.66 kB / 0.6415 GB, free: 9.602 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2308, allocations: 89.18 MB / 0.7286 GB, free: 500 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003265/0.234, allocations: 1.482 MB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.236, allocations: 1.204 MB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.2361, allocations: 3.938 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.2363, allocations: 19.84 kB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.2366, allocations: 35.8 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.2368, allocations: 59.08 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.237, allocations: 151.5 kB / 0.7315 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.2372, allocations: 37.28 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2373, allocations: 83.81 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.2375, allocations: 55.7 kB / 0.7317 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.2375, allocations: 12 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.668e-05/0.2376, allocations: 31.98 kB / 0.7317 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.2377, allocations: 51.77 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.984e-05/0.2378, allocations: 55.7 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.2381, allocations: 207.2 kB / 0.732 GB, free: 13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2381, allocations: 3.938 kB / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2381, allocations: 0 / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.2381, allocations: 0 / 0.732 GB, free: 12.99 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008075/0.2389, allocations: 429.3 kB / 0.7324 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.239, allocations: 8.031 kB / 0.7324 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/0.239, allocations: 20.84 kB / 0.7325 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.2394, allocations: 202.2 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.2396, allocations: 222.2 kB / 0.7329 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.2397, allocations: 4.375 kB / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.2401, allocations: 264.4 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2401, allocations: 0 / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.2401, allocations: 12 kB / 0.7331 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.2401, allocations: 7.984 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.2402, allocations: 43.91 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.2412, allocations: 376.2 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.2413, allocations: 38.5 kB / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.2414, allocations: 28.84 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.2414, allocations: 4 kB / 0.7336 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.767e-05/0.2415, allocations: 34.5 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.2415, allocations: 4 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003014/0.2418, allocations: 109.5 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.2418, allocations: 55.34 kB / 0.7338 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.2421, allocations: 211.8 kB / 0.734 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.2421, allocations: 25.7 kB / 0.734 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2422, allocations: 124.1 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.2423, allocations: 32.03 kB / 0.7342 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.2423, allocations: 37.7 kB / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2425, allocations: 326.8 kB / 0.7345 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.2425, allocations: 27.98 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.2426, allocations: 94.28 kB / 0.7346 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.2428, allocations: 146.1 kB / 0.7348 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2428, allocations: 0 / 0.7348 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002498/0.2431, allocations: 149.6 kB / 0.7349 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2431, allocations: 13.91 kB / 0.7349 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2431, allocations: 7.984 kB / 0.7349 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2431, allocations: 0 / 0.7349 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.2432, allocations: 20 kB / 0.735 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.2432, allocations: 11.92 kB / 0.735 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.2433, allocations: 19.83 kB / 0.735 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2433, allocations: 11.98 kB / 0.735 GB, free: 9.617 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.000133/0.2435, allocations: 141.8 kB / 0.7351 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.2435, allocations: 15.91 kB / 0.7351 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.2437, allocations: 122.8 kB / 0.7353 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.2437, allocations: 0 / 0.7353 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2438, allocations: 7.938 kB / 0.7353 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2438, allocations: 7.922 kB / 0.7353 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.244, allocations: 149.3 kB / 0.7354 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.244, allocations: 0 / 0.7354 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.244, allocations: 19.98 kB / 0.7354 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.244, allocations: 0 / 0.7354 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.244, allocations: 0 / 0.7354 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.244, allocations: 4 kB / 0.7354 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.244, allocations: 0 / 0.7354 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.2443, allocations: 199.3 kB / 0.7356 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.2443, allocations: 11.91 kB / 0.7356 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.2443, allocations: 8 kB / 0.7357 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.2445, allocations: 15.97 kB / 0.7357 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.2446, allocations: 7.984 kB / 0.7357 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.2446, allocations: 15.98 kB / 0.7357 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001467/0.2447, allocations: 152.2 kB / 0.7358 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2447, allocations: 0 / 0.7358 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002949/0.245, allocations: 35.88 kB / 0.7359 GB, free: 8.652 MB / 0.5606 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 (8): * Single equations (assignments): 8 * 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.0002651/0.2453, allocations: 130 kB / 0.736 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.2455, allocations: 63.84 kB / 0.7361 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2455, allocations: 8.688 kB / 0.7361 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.2455, allocations: 27.92 kB / 0.7361 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2458, allocations: 20 kB / 0.7361 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.2463, allocations: 290.7 kB / 0.7364 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.2465, allocations: 118.1 kB / 0.7365 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000123/0.2466, allocations: 48.88 kB / 0.7365 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.2466, allocations: 15.44 kB / 0.7366 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2466, allocations: 4 kB / 0.7366 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of Templates: time 0.006052/0.2527, allocations: 2.55 MB / 0.7391 GB, free: 5.398 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.089173045009375] Failed to read output from testmodel.py, exit status != 0: 0.2619556952267885 0.276213978 0.034899238 Calling exit ...