Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.0007889/0.0007889, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009135/0.0009135, allocations: 169 kB / 23.27 MB, free: 1.223 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.9219/0.9219, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.001829/0.001829, allocations: 237.8 kB / 260.5 MB, free: 12.67 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.7733/0.7733, allocations: 138.4 MB / 455.5 MB, free: 30.07 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.5556 GB, free: 15.95 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.478e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.00234/0.002365, allocations: 1.42 MB / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.002494, allocations: 28.69 kB / 0.557 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.00255, allocations: 3.938 kB / 0.557 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.002725, allocations: 15.92 kB / 0.557 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.002843, allocations: 4 kB / 0.557 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.002846, allocations: 0 / 0.557 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.002906, allocations: 23.84 kB / 0.557 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.002953, allocations: 15.88 kB / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.328e-05/0.003006, allocations: 7.984 kB / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.003059, allocations: 0 / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.003076, allocations: 7.938 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.794e-05/0.003124, allocations: 11.98 kB / 0.5571 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.003162, allocations: 4 kB / 0.5571 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.00318, allocations: 0 / 0.5571 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.206e-05/0.003272, allocations: 31.84 kB / 0.5571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003274, allocations: 0 / 0.5571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003275, allocations: 0 / 0.5571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.003279, allocations: 0 / 0.5571 GB, free: 14.36 MB / 490.7 MB 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.0002942/0.003573, allocations: 356.6 kB / 0.5574 GB, free: 13.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.003618, allocations: 13.94 kB / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.003648, allocations: 4.922 kB / 0.5575 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.003791, allocations: 129.3 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.0038, allocations: 4.375 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-06/0.003806, allocations: 384 / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.922e-05/0.003876, allocations: 26.27 kB / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.003884, allocations: 192 / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.00389, allocations: 384 / 0.5576 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.003923, allocations: 12.31 kB / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.107e-06/0.003932, allocations: 3.938 kB / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.00405, allocations: 101.2 kB / 0.5577 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.095e-05/0.004091, allocations: 23.06 kB / 0.5577 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/0.004107, allocations: 11.78 kB / 0.5578 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.004125, allocations: 0 / 0.5578 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.004147, allocations: 41.31 kB / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.004148, allocations: 0 / 0.5578 GB, free: 13.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.332e-05/0.004241, allocations: 41.59 kB / 0.5578 GB, free: 13.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.004267, allocations: 59.39 kB / 0.5579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/0.004346, allocations: 173.9 kB / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.004356, allocations: 29.83 kB / 0.5581 GB, free: 13.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.004396, allocations: 126.9 kB / 0.5582 GB, free: 13.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.004427, allocations: 3.938 kB / 0.5582 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.00446, allocations: 19.38 kB / 0.5582 GB, free: 13.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.004597, allocations: 0.4922 MB / 0.5587 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.00461, allocations: 4 kB / 0.5587 GB, free: 12.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-06/0.00462, allocations: 3.984 kB / 0.5587 GB, free: 12.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/0.004642, allocations: 11.62 kB / 0.5587 GB, free: 12.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.004644, allocations: 4 kB / 0.5587 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.562e-05/0.00469, allocations: 41.7 kB / 0.5588 GB, free: 12.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.0047, allocations: 4 kB / 0.5588 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.004704, allocations: 0 / 0.5588 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.004714, allocations: 4 kB / 0.5588 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.586e-05/0.00475, allocations: 0 / 0.5588 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.004753, allocations: 0 / 0.5588 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.004762, allocations: 0 / 0.5588 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-06/0.004767, allocations: 3.938 kB / 0.5588 GB, free: 12.44 MB / 490.7 MB 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 6.043e-05/0.004828, allocations: 160.6 kB / 0.5589 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-06/0.004832, allocations: 0 / 0.5589 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.004895, allocations: 49.14 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.004896, allocations: 0 / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004897, allocations: 0 / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.0049, allocations: 0 / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.385e-05/0.004953, allocations: 101.2 kB / 0.5591 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.004954, allocations: 0 / 0.5591 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.632e-06/0.004961, allocations: 0 / 0.5591 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.004963, allocations: 8 kB / 0.5591 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-06/0.004965, allocations: 0 / 0.5591 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-07/0.004966, allocations: 0 / 0.5591 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004966, allocations: 0 / 0.5591 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.452e-05/0.005021, allocations: 84.3 kB / 0.5592 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.005028, allocations: 3.938 kB / 0.5592 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-06/0.005035, allocations: 4 kB / 0.5592 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.005042, allocations: 4 kB / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.005051, allocations: 0 / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.005054, allocations: 0 / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.903e-05/0.005093, allocations: 135.2 kB / 0.5593 GB, free: 11.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005093, allocations: 0 / 0.5593 GB, free: 11.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001125/0.005205, allocations: 4 kB / 0.5593 GB, free: 11.83 MB / 490.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 (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.0001641/0.005369, allocations: 111.3 kB / 0.5594 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.749e-05/0.005427, allocations: 11.69 kB / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.005429, allocations: 0 / 0.5594 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-06/0.005436, allocations: 11.69 kB / 0.5594 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.856e-05/0.005534, allocations: 3.938 kB / 0.5594 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.005782, allocations: 130.3 kB / 0.5596 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.166e-05/0.005813, allocations: 55.36 kB / 0.5596 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.664e-05/0.00583, allocations: 3.984 kB / 0.5596 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.005864, allocations: 70.2 kB / 0.5597 GB, free: 11.38 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005864, allocations: 0 / 0.5597 GB, free: 11.38 MB / 490.7 MB Notification: Performance of Templates: time 0.001927/0.007791, allocations: 0.5516 MB / 0.5602 GB, free: 10.83 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6148899737745523]