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.001389/0.001389, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001838/0.001838, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9177/0.9177, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001981/0.001981, allocations: 239.9 kB / 261.3 MB, free: 12.66 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.74/0.74, allocations: 138.4 MB / 456.3 MB, free: 1.371 MB / 362.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.493e-06/1.493e-06, allocations: 3.938 kB / 0.5563 GB, free: 232 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0001605/0.000162, allocations: 9.344 kB / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.00516/0.005322, allocations: 1.4 MB / 0.5577 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.005434, allocations: 43.81 kB / 0.5578 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.005476, allocations: 0 / 0.5578 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.005628, allocations: 3.938 kB / 0.5578 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.005728, allocations: 23.8 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.595e-06/0.005731, allocations: 4 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.005782, allocations: 11.94 kB / 0.5578 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.005818, allocations: 3.984 kB / 0.5578 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.005862, allocations: 11.98 kB / 0.5578 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.005911, allocations: 11.92 kB / 0.5578 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.005926, allocations: 0 / 0.5578 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.005966, allocations: 12 kB / 0.5578 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.005998, allocations: 4 kB / 0.5579 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.126e-05/0.006009, allocations: 0 / 0.5579 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.42e-05/0.006093, allocations: 35.83 kB / 0.5579 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.006095, allocations: 0 / 0.5579 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.006096, allocations: 4 kB / 0.5579 GB, free: 14.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.006099, allocations: 0 / 0.5579 GB, free: 14.64 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.0002515/0.006351, allocations: 352.6 kB / 0.5582 GB, free: 14.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.006384, allocations: 8.75 kB / 0.5582 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.006414, allocations: 8.891 kB / 0.5582 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.006533, allocations: 133.2 kB / 0.5584 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.006541, allocations: 384 / 0.5584 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-06/0.006546, allocations: 384 / 0.5584 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.505e-05/0.006601, allocations: 34.25 kB / 0.5584 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.006607, allocations: 192 / 0.5584 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-06/0.006612, allocations: 8.312 kB / 0.5584 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.006633, allocations: 384 / 0.5584 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.118e-05/0.006645, allocations: 11.94 kB / 0.5584 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.414e-05/0.006729, allocations: 93.27 kB / 0.5585 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.25e-05/0.006761, allocations: 31.03 kB / 0.5585 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.209e-05/0.006773, allocations: 7.688 kB / 0.5585 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.006785, allocations: 0 / 0.5585 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.006806, allocations: 41.44 kB / 0.5586 GB, free: 13.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.006807, allocations: 0 / 0.5586 GB, free: 13.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 8.886e-05/0.006895, allocations: 33.75 kB / 0.5586 GB, free: 13.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.006922, allocations: 55.44 kB / 0.5587 GB, free: 13.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.007004, allocations: 177.8 kB / 0.5588 GB, free: 13.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.007014, allocations: 29.7 kB / 0.5589 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.007051, allocations: 134.9 kB / 0.559 GB, free: 13.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.00707, allocations: 0 / 0.559 GB, free: 13.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.007095, allocations: 15.38 kB / 0.559 GB, free: 13.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.007208, allocations: 0.4922 MB / 0.5595 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-06/0.007213, allocations: 0 / 0.5595 GB, free: 12.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.007218, allocations: 0 / 0.5595 GB, free: 12.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.991e-05/0.007238, allocations: 11.75 kB / 0.5595 GB, free: 12.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00724, allocations: 4 kB / 0.5595 GB, free: 12.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.822e-05/0.007288, allocations: 41.66 kB / 0.5595 GB, free: 12.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003027/0.01032, allocations: 4 kB / 0.5596 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01032, allocations: 7.922 kB / 0.5596 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.01033, allocations: 0 / 0.5596 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.01037, allocations: 4 kB / 0.5596 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.01038, allocations: 0 / 0.5596 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.371e-05/0.01039, allocations: 0 / 0.5596 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.01039, allocations: 3.938 kB / 0.5596 GB, free: 12.71 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.976e-05/0.01046, allocations: 160.6 kB / 0.5597 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.01048, allocations: 4 kB / 0.5597 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.01054, allocations: 37.16 kB / 0.5598 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.01054, allocations: 0 / 0.5598 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.01054, allocations: 4 kB / 0.5598 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01054, allocations: 0 / 0.5598 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.461e-05/0.01062, allocations: 101.2 kB / 0.5599 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.01062, allocations: 3.938 kB / 0.5599 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.01063, allocations: 0 / 0.5599 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01063, allocations: 3.984 kB / 0.5599 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.01064, allocations: 0 / 0.5599 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.01064, allocations: 7.969 kB / 0.5599 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.01064, allocations: 7.984 kB / 0.5599 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.729e-05/0.0107, allocations: 72.34 kB / 0.56 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.01071, allocations: 0 / 0.56 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.01072, allocations: 0 / 0.56 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-06/0.01072, allocations: 3.984 kB / 0.56 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-06/0.01073, allocations: 0 / 0.56 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.01074, allocations: 8 kB / 0.56 GB, free: 12.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.01078, allocations: 127.2 kB / 0.5601 GB, free: 12.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01078, allocations: 4 kB / 0.5601 GB, free: 12.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.01096, allocations: 8.031 kB / 0.5601 GB, free: 12.11 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.0001579/0.01112, allocations: 113.5 kB / 0.5602 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.304e-05/0.01117, allocations: 15.62 kB / 0.5602 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01117, allocations: 0 / 0.5602 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-06/0.01118, allocations: 11.75 kB / 0.5602 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.01131, allocations: 7.938 kB / 0.5602 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.01151, allocations: 114.3 kB / 0.5603 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.663e-05/0.01153, allocations: 55.34 kB / 0.5604 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.75e-05/0.01155, allocations: 7.938 kB / 0.5604 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.01158, allocations: 66.2 kB / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01158, allocations: 0 / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of Templates: time 0.005074/0.01665, allocations: 0.5481 MB / 0.561 GB, free: 11.12 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.5997289642691612]