Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0006363/0.0006363, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009306/0.001567, allocations: 440 kB / 10.41 MB, free: 284 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.0006749/0.0006749, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009086/0.001583, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.046/1.046, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08035/1.127, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001249/0.001249, allocations: 229.9 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.002289, allocations: 475.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7164/0.7164, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06996/0.7863, allocations: 42.4 MB / 426.7 MB, free: 5.832 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 428 MB, free: 4.512 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.753e-05, allocations: 2.312 kB / 428 MB, free: 4.508 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003165/0.003193, allocations: 1.603 MB / 429.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.005085, allocations: 1.286 MB / 430.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.005149, allocations: 3.938 kB / 430.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.005262, allocations: 23.8 kB / 431 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.005377, allocations: 43.66 kB / 431 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.005526, allocations: 55.91 kB / 431 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.005671, allocations: 143.5 kB / 431.2 MB, free: 1.332 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.005766, allocations: 29.95 kB / 431.2 MB, free: 1.305 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.005893, allocations: 143.5 kB / 431.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.005987, allocations: 39.91 kB / 431.4 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.006016, allocations: 15.94 kB / 431.4 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.006076, allocations: 27.98 kB / 431.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.006125, allocations: 27.94 kB / 431.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.006164, allocations: 31.88 kB / 431.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.006335, allocations: 151.5 kB / 431.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.006343, allocations: 0 / 431.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.5e-06/0.006349, allocations: 0 / 431.6 MB, free: 0.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.006361, allocations: 0 / 431.6 MB, free: 0.875 MB / 410.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.0004635/0.006824, allocations: 427.5 kB / 432.1 MB, free: 444 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.006851, allocations: 11.98 kB / 432.1 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.006893, allocations: 16.86 kB / 432.1 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.007079, allocations: 194.1 kB / 432.3 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1974/0.2045, allocations: 215.1 kB / 432.5 MB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.2045, allocations: 7.656 kB / 432.5 MB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.2047, allocations: 182.4 kB / 432.7 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2047, allocations: 192 / 432.7 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2047, allocations: 3.906 kB / 432.7 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.2048, allocations: 11.61 kB / 432.7 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.2048, allocations: 14.06 kB / 432.7 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.2053, allocations: 277.9 kB / 433 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.814e-05/0.2054, allocations: 24.08 kB / 433 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.2054, allocations: 15.02 kB / 433 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.2054, allocations: 4.438 kB / 433 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.2054, allocations: 34 kB / 433.1 MB, free: 1.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2054, allocations: 2 kB / 433.1 MB, free: 1.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001264/0.2055, allocations: 69.56 kB / 433.1 MB, free: 1.754 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.362e-05/0.2056, allocations: 54.25 kB / 433.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2057, allocations: 189.2 kB / 433.4 MB, free: 1.578 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2057, allocations: 29.02 kB / 433.4 MB, free: 1.547 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.2057, allocations: 109.5 kB / 433.5 MB, free: 1.465 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.2057, allocations: 29.69 kB / 433.5 MB, free: 1.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.2058, allocations: 29.7 kB / 433.6 MB, free: 1.445 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.2058, allocations: 330.1 kB / 433.9 MB, free: 17.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.2058, allocations: 6.594 kB / 433.9 MB, free: 17.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.2059, allocations: 79.61 kB / 434 MB, free: 17.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.2059, allocations: 117.3 kB / 434.1 MB, free: 16.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2059, allocations: 0.875 kB / 434.1 MB, free: 16.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.552e-05/0.206, allocations: 98.72 kB / 434.2 MB, free: 16.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2061, allocations: 6.25 kB / 434.2 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2061, allocations: 3.125 kB / 434.2 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2061, allocations: 9.219 kB / 434.2 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.542e-05/0.2061, allocations: 28.97 kB / 434.2 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.2061, allocations: 9.922 kB / 434.2 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.2062, allocations: 15.25 kB / 434.2 MB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.2062, allocations: 3.047 kB / 434.2 MB, free: 16.9 MB / 426.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 6.439e-05/0.2062, allocations: 120.6 kB / 434.4 MB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.2063, allocations: 11.84 kB / 434.4 MB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.66e-05/0.2064, allocations: 83.95 kB / 434.5 MB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2064, allocations: 8.25 kB / 434.5 MB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2064, allocations: 2.375 kB / 434.5 MB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2064, allocations: 0.6875 kB / 434.5 MB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.923e-05/0.2065, allocations: 98.64 kB / 434.6 MB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2065, allocations: 0.5625 kB / 434.6 MB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.2065, allocations: 14.84 kB / 434.6 MB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.2065, allocations: 19.42 kB / 434.6 MB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2065, allocations: 1.188 kB / 434.6 MB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.2065, allocations: 4.547 kB / 434.6 MB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2065, allocations: 7.719 kB / 434.6 MB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2065, allocations: 0 / 434.6 MB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.2066, allocations: 150.2 kB / 434.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.2066, allocations: 3.031 kB / 434.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.2067, allocations: 14.2 kB / 434.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.2067, allocations: 10.95 kB / 434.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2067, allocations: 7.406 kB / 434.8 MB, free: 16.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.2068, allocations: 55.17 kB / 434.8 MB, free: 16.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2068, allocations: 4.641 kB / 434.9 MB, free: 16.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.2069, allocations: 34.34 kB / 434.9 MB, free: 16.52 MB / 426.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.0001706/0.2071, allocations: 114.5 kB / 435 MB, free: 16.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.014e-05/0.2072, allocations: 48.22 kB / 435 MB, free: 16.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.2072, allocations: 5.984 kB / 435.1 MB, free: 16.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.2072, allocations: 24.77 kB / 435.1 MB, free: 16.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.2074, allocations: 153.9 kB / 435.2 MB, free: 16.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.2078, allocations: 254.5 kB / 435.5 MB, free: 16.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.2078, allocations: 77.83 kB / 435.5 MB, free: 16.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.497e-05/0.2079, allocations: 35.39 kB / 435.6 MB, free: 16.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.2081, allocations: 109 kB / 435.7 MB, free: 16.02 MB / 426.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2081, allocations: 0 / 435.7 MB, free: 16.02 MB / 426.7 MB Notification: Performance of Templates: time 0.0042/0.2123, allocations: 2.904 MB / 438.6 MB, free: 15.93 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.607828952372074]