Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0007778/0.0007778, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007379/0.0007379, allocations: 174.3 kB / 23.21 MB, free: 1.348 MB / 18.57 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.8614/0.8614, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001382/0.001382, allocations: 233.4 kB / 260.2 MB, free: 13.05 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6667/0.6667, allocations: 138.4 MB / 455.1 MB, free: 29.91 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.144e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.2806/0.2806, allocations: 1.388 MB / 0.6489 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.2807, allocations: 43.62 kB / 0.6489 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.2808, allocations: 1.312 kB / 0.6489 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.2809, allocations: 8.875 kB / 0.6489 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.281, allocations: 10.62 kB / 0.6489 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.281, allocations: 0 / 0.6489 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.2811, allocations: 20.62 kB / 0.6489 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.2812, allocations: 3.594 kB / 0.6489 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.2812, allocations: 13.67 kB / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.2813, allocations: 6.875 kB / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.2813, allocations: 1.812 kB / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.2813, allocations: 16.06 kB / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.2814, allocations: 6.375 kB / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.2814, allocations: 6.359 kB / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2815, allocations: 24.62 kB / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2815, allocations: 2.375 kB / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2815, allocations: 0 / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2815, allocations: 0 / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002506/0.2818, allocations: 266.7 kB / 0.6493 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2818, allocations: 11.64 kB / 0.6493 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.2818, allocations: 4.875 kB / 0.6493 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.282, allocations: 119.9 kB / 0.6494 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.282, allocations: 1.469 kB / 0.6494 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.282, allocations: 1.562 kB / 0.6494 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.282e-05/0.2821, allocations: 32.2 kB / 0.6494 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2821, allocations: 5.875 kB / 0.6494 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2821, allocations: 1.75 kB / 0.6494 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.2821, allocations: 2.016 kB / 0.6494 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.2821, allocations: 6.469 kB / 0.6494 GB, free: 56 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.931e-05/0.2822, allocations: 105.9 kB / 0.6495 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.525e-05/0.2822, allocations: 22.22 kB / 0.6496 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.2823, allocations: 11.05 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.2823, allocations: 1.188 kB / 0.6496 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.2823, allocations: 33.78 kB / 0.6496 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2823, allocations: 4.469 kB / 0.6496 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.2824, allocations: 37.34 kB / 0.6497 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.2824, allocations: 53 kB / 0.6497 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.2825, allocations: 119.6 kB / 0.6498 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-06/0.2825, allocations: 27.27 kB / 0.6498 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.819e-05/0.2825, allocations: 85.3 kB / 0.6499 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.2826, allocations: 6.812 kB / 0.6499 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.2826, allocations: 13.66 kB / 0.6499 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.098e-05/0.2826, allocations: 315 kB / 0.6502 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-06/0.2826, allocations: 2.25 kB / 0.6502 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.2826, allocations: 8 kB / 0.6503 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.315e-05/0.2826, allocations: 16.02 kB / 0.6503 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2826, allocations: 2.469 kB / 0.6503 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.675e-05/0.2827, allocations: 36.23 kB / 0.6503 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2827, allocations: 5.781 kB / 0.6503 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2827, allocations: 0.5156 kB / 0.6503 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2827, allocations: 5 kB / 0.6503 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.2828, allocations: 1.891 kB / 0.6503 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2828, allocations: 2.25 kB / 0.6503 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-06/0.2828, allocations: 3.938 kB / 0.6503 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.2828, allocations: 1.766 kB / 0.6503 GB, free: 55.12 MB / 0.5573 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 (1): * Single equations (assignments): 1 * 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 3.679e-05/0.2828, allocations: 112.7 kB / 0.6504 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-06/0.2828, allocations: 5.953 kB / 0.6504 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.2829, allocations: 47.09 kB / 0.6505 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2829, allocations: 0.8438 kB / 0.6505 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2829, allocations: 0.6562 kB / 0.6505 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2829, allocations: 7.938 kB / 0.6505 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.293e-05/0.2829, allocations: 107.8 kB / 0.6506 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.2829, allocations: 2.156 kB / 0.6506 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-06/0.283, allocations: 2.828 kB / 0.6506 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.283, allocations: 0.5 kB / 0.6506 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.283, allocations: 2.219 kB / 0.6506 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.283, allocations: 1.453 kB / 0.6506 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.283, allocations: 1.812 kB / 0.6506 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.24e-05/0.283, allocations: 68.33 kB / 0.6507 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.283, allocations: 6.719 kB / 0.6507 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.283, allocations: 2.984 kB / 0.6507 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-06/0.283, allocations: 0 / 0.6507 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.283, allocations: 2.922 kB / 0.6507 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.283, allocations: 1.344 kB / 0.6507 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.554e-05/0.2831, allocations: 92.81 kB / 0.6508 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2831, allocations: 0.6875 kB / 0.6508 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001291/0.2832, allocations: 13.25 kB / 0.6508 GB, free: 54.68 MB / 0.5573 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 (1): * Single equations (assignments): 1 * 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.0001678/0.2834, allocations: 110.2 kB / 0.6509 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.55e-05/0.2834, allocations: 7.516 kB / 0.6509 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2834, allocations: 2.562 kB / 0.6509 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.57e-06/0.2834, allocations: 4 kB / 0.6509 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.2836, allocations: 2.906 kB / 0.6509 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.2838, allocations: 142.6 kB / 0.651 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.2838, allocations: 61.47 kB / 0.6511 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.2838, allocations: 11.61 kB / 0.6511 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.2838, allocations: 0.5625 kB / 0.6511 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of Templates: time 0.001947/0.2858, allocations: 0.7935 MB / 0.6519 GB, free: 54.33 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.524900886230171] Failed to read output from testmodel.py, exit status != 0: 0.291229460388422 0.29854835299999993 0.015479631 Calling exit ...