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.00123/0.00123, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002224/0.003454, 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.001268/0.001268, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001685/0.002953, 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 0.9432/0.9432, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09855/1.042, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.6797/0.6797, allocations: 120.1 MB / 364.2 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07602/0.7557, 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.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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.407e-05, allocations: 6.25 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002898/0.002922, allocations: 1.584 MB / 405.3 MB, free: 9.379 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.004737, allocations: 1.286 MB / 406.6 MB, free: 8.086 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.004831, allocations: 4 kB / 406.6 MB, free: 8.082 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.00501, allocations: 23.8 kB / 406.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.005169, allocations: 39.72 kB / 406.6 MB, free: 8.02 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.005374, allocations: 55.86 kB / 406.7 MB, free: 7.965 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.005586, allocations: 151.5 kB / 406.8 MB, free: 7.816 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.005742, allocations: 33.92 kB / 406.9 MB, free: 7.785 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.005938, allocations: 120.5 kB / 407 MB, free: 7.668 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.006085, allocations: 47.81 kB / 407 MB, free: 7.621 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.006125, allocations: 12 kB / 407 MB, free: 7.609 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.006221, allocations: 28 kB / 407.1 MB, free: 7.582 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.006289, allocations: 31.86 kB / 407.1 MB, free: 7.551 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.006347, allocations: 35.94 kB / 407.1 MB, free: 7.516 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.006606, allocations: 147.4 kB / 407.3 MB, free: 7.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.006616, allocations: 0 / 407.3 MB, free: 7.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006618, allocations: 0 / 407.3 MB, free: 7.371 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.006631, allocations: 0 / 407.3 MB, free: 7.371 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000673/0.007304, allocations: 423.5 kB / 407.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.007347, allocations: 8.031 kB / 407.7 MB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.007418, allocations: 16.92 kB / 407.7 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.007711, allocations: 173.5 kB / 407.9 MB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.007879, allocations: 226.2 kB / 408.1 MB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.007914, allocations: 8.359 kB / 408.1 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.008179, allocations: 204 kB / 408.3 MB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.008188, allocations: 0 / 408.3 MB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.00821, allocations: 8 kB / 408.3 MB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.008245, allocations: 4 kB / 408.3 MB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.464e-05/0.00828, allocations: 15.98 kB / 408.3 MB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.008879, allocations: 273.6 kB / 408.6 MB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.168e-05/0.00894, allocations: 38.48 kB / 408.7 MB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.558e-05/0.008966, allocations: 8.859 kB / 408.7 MB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.008994, allocations: 4 kB / 408.7 MB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.009022, allocations: 30.56 kB / 408.7 MB, free: 5.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.009023, allocations: 0 / 408.7 MB, free: 5.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001861/0.009209, allocations: 69.59 kB / 408.8 MB, free: 5.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.009242, allocations: 51.41 kB / 408.8 MB, free: 5.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.009408, allocations: 195.7 kB / 409 MB, free: 5.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.009435, allocations: 25.7 kB / 409 MB, free: 5.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.009493, allocations: 108 kB / 409.1 MB, free: 5.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.009521, allocations: 31.73 kB / 409.2 MB, free: 5.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.009567, allocations: 25.7 kB / 409.2 MB, free: 5.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.009683, allocations: 334.7 kB / 409.5 MB, free: 4.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.009705, allocations: 4 kB / 409.5 MB, free: 4.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.009776, allocations: 82.23 kB / 409.6 MB, free: 4.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.009892, allocations: 121 kB / 409.7 MB, free: 4.629 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.009895, allocations: 0 / 409.7 MB, free: 4.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001662/0.01006, allocations: 105.4 kB / 409.8 MB, free: 4.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.01008, allocations: 8 kB / 409.8 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01009, allocations: 4 kB / 409.8 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.01011, allocations: 4 kB / 409.8 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01022, allocations: 23.98 kB / 409.9 MB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.01022, allocations: 7.938 kB / 409.9 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.01029, allocations: 7.938 kB / 409.9 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.0103, allocations: 4 kB / 409.9 MB, free: 4.461 MB / 394.7 MB 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.0001009/0.0104, allocations: 125 kB / 410 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.01044, allocations: 19.92 kB / 410 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.01062, allocations: 82.95 kB / 410.1 MB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01063, allocations: 4 kB / 410.1 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-06/0.01063, allocations: 0 / 410.1 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01064, allocations: 3.984 kB / 410.1 MB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.01081, allocations: 105.7 kB / 410.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01081, allocations: 0 / 410.2 MB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.01086, allocations: 12 kB / 410.2 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.01088, allocations: 15.89 kB / 410.2 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01088, allocations: 4 kB / 410.2 MB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01089, allocations: 12 kB / 410.3 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.0109, allocations: 0 / 410.3 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.0109, allocations: 0 / 410.3 MB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.01105, allocations: 163.8 kB / 410.4 MB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.01106, allocations: 0 / 410.4 MB, free: 3.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.01121, allocations: 15.98 kB / 410.4 MB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.01122, allocations: 3.984 kB / 410.4 MB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.01125, allocations: 7.984 kB / 410.4 MB, free: 3.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.01131, allocations: 51.11 kB / 410.5 MB, free: 3.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01131, allocations: 0 / 410.5 MB, free: 3.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002938/0.01161, allocations: 43.88 kB / 410.5 MB, free: 3.746 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 (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.0002646/0.01187, allocations: 96.5 kB / 410.6 MB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.01201, allocations: 65.62 kB / 410.7 MB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.01202, allocations: 0 / 410.7 MB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.01206, allocations: 28.78 kB / 410.7 MB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.01242, allocations: 154.6 kB / 410.9 MB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006653/0.01309, allocations: 263.8 kB / 411.1 MB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.939e-05/0.01314, allocations: 75.33 kB / 411.2 MB, free: 2.988 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.73e-05/0.01323, allocations: 32.89 kB / 411.2 MB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.01349, allocations: 111.2 kB / 411.3 MB, free: 2.848 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/0.0135, allocations: 4.188 kB / 411.4 MB, free: 2.844 MB / 394.7 MB Notification: Performance of Templates: time 0.006386/0.01988, allocations: 2.88 MB / 414.2 MB, free: 15.95 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3587756091728806]