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.0009701/0.0009701, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001013/0.001013, allocations: 173 kB / 23.5 MB, free: 1.055 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 1.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.002105/0.002105, allocations: 239.7 kB / 260.5 MB, free: 12.88 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.722/0.722, allocations: 138.4 MB / 455.4 MB, free: 1.59 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.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.593e-06/1.593e-06, allocations: 0 / 0.555 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.691e-05, allocations: 2.312 kB / 0.555 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001819/0.001836, allocations: 1.416 MB / 0.5564 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001252/0.001961, allocations: 47.77 kB / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.002033, allocations: 7.938 kB / 0.5565 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.002182, allocations: 3.938 kB / 0.5565 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.002287, allocations: 15.92 kB / 0.5565 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.956e-06/0.00229, allocations: 0 / 0.5565 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.002356, allocations: 15.94 kB / 0.5565 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.002398, allocations: 7.984 kB / 0.5565 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.002449, allocations: 15.92 kB / 0.5565 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.002497, allocations: 3.984 kB / 0.5565 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.002519, allocations: 4 kB / 0.5565 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.00256, allocations: 11.94 kB / 0.5565 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.002596, allocations: 4 kB / 0.5565 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.002615, allocations: 7.938 kB / 0.5565 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.56e-05/0.002711, allocations: 27.91 kB / 0.5566 GB, free: 15.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.002713, allocations: 0 / 0.5566 GB, free: 15.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002713, allocations: 0 / 0.5566 GB, free: 15.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.002717, allocations: 0 / 0.5566 GB, free: 15.34 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.0002839/0.003001, allocations: 364.5 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.003036, allocations: 8.75 kB / 0.5569 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.003072, allocations: 8.875 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.003211, allocations: 129.3 kB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-06/0.00322, allocations: 4.375 kB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.003227, allocations: 384 / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.886e-05/0.003296, allocations: 42.19 kB / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.003301, allocations: 192 / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.003309, allocations: 384 / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.003334, allocations: 384 / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.408e-05/0.003348, allocations: 3.938 kB / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.003455, allocations: 116.6 kB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.441e-05/0.003489, allocations: 27.09 kB / 0.5572 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.003505, allocations: 7.688 kB / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.00352, allocations: 0 / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.003541, allocations: 41.39 kB / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.003541, allocations: 4 kB / 0.5573 GB, free: 14.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.003656, allocations: 33.66 kB / 0.5573 GB, free: 14.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.003686, allocations: 51.41 kB / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.003781, allocations: 185.8 kB / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.003791, allocations: 25.7 kB / 0.5576 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.00383, allocations: 126.9 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.003852, allocations: 7.938 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.003882, allocations: 19.38 kB / 0.5577 GB, free: 13.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.003997, allocations: 492.1 kB / 0.5582 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.004005, allocations: 128 / 0.5582 GB, free: 13.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.004011, allocations: 8 kB / 0.5582 GB, free: 13.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.162e-05/0.004032, allocations: 19.61 kB / 0.5582 GB, free: 13.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.004034, allocations: 0 / 0.5582 GB, free: 13.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.163e-05/0.004076, allocations: 37.66 kB / 0.5583 GB, free: 13.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.004089, allocations: 4 kB / 0.5583 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.004094, allocations: 7.922 kB / 0.5583 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.004107, allocations: 4 kB / 0.5583 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.004151, allocations: 0 / 0.5583 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.004156, allocations: 0 / 0.5583 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.004168, allocations: 8.031 kB / 0.5583 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.004173, allocations: 0 / 0.5583 GB, free: 13.38 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.458e-05/0.004238, allocations: 160.6 kB / 0.5584 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-06/0.004243, allocations: 0 / 0.5584 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.004314, allocations: 45.11 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004315, allocations: 0 / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.004319, allocations: 0 / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.004323, allocations: 3.938 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.688e-05/0.00439, allocations: 116.6 kB / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.00439, allocations: 0 / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.565e-06/0.004398, allocations: 8.031 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.0044, allocations: 0 / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.004406, allocations: 0 / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004407, allocations: 0 / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.004408, allocations: 3.984 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.979e-05/0.004458, allocations: 76.28 kB / 0.5587 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.004468, allocations: 8 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.004477, allocations: 4 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-06/0.004482, allocations: 0 / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.004495, allocations: 3.984 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.004496, allocations: 4.031 kB / 0.5587 GB, free: 12.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.34e-05/0.00454, allocations: 135.5 kB / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00454, allocations: 0 / 0.5588 GB, free: 12.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001231/0.004663, allocations: 7.938 kB / 0.5588 GB, free: 12.74 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.0001535/0.004816, allocations: 116.5 kB / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.972e-05/0.004876, allocations: 19.69 kB / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.004877, allocations: 0 / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.004885, allocations: 15.62 kB / 0.559 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.004989, allocations: 3.938 kB / 0.559 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.005202, allocations: 114.3 kB / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.757e-05/0.00523, allocations: 59.34 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.728e-05/0.005247, allocations: 0 / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.993e-05/0.005267, allocations: 12.5 kB / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.005267, allocations: 128 / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of Templates: time 0.001942/0.00721, allocations: 0.5446 MB / 0.5597 GB, free: 11.8 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7197301951237023]