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.001323/0.001323, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001671/0.001671, allocations: 169 kB / 23.02 MB, free: 1.547 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.9596/0.9596, allocations: 177.1 MB / 203.4 MB, free: 5.555 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.001734/0.001734, allocations: 234.8 kB / 260.2 MB, free: 12.81 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.8283/0.8283, allocations: 138.4 MB / 455.2 MB, free: 1.488 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.674e-06/1.674e-06, allocations: 0 / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.902e-05, allocations: 5.406 kB / 0.5551 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002422/0.002451, allocations: 1.408 MB / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001343/0.002585, allocations: 31.89 kB / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.00263, allocations: 3.938 kB / 0.5565 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.002805, allocations: 15.91 kB / 0.5565 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.002919, allocations: 7.938 kB / 0.5565 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.002922, allocations: 0 / 0.5565 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.002987, allocations: 19.92 kB / 0.5566 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.003029, allocations: 3.938 kB / 0.5566 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.003077, allocations: 11.98 kB / 0.5566 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.003128, allocations: 3.938 kB / 0.5566 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.00315, allocations: 15.92 kB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.061e-05/0.003201, allocations: 8 kB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.003241, allocations: 7.984 kB / 0.5566 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.003258, allocations: 0 / 0.5566 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.003358, allocations: 27.86 kB / 0.5566 GB, free: 14.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.003361, allocations: 0 / 0.5566 GB, free: 14.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.003362, allocations: 0 / 0.5566 GB, free: 14.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.003366, allocations: 0 / 0.5566 GB, free: 14.91 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.0005944/0.003961, allocations: 360.6 kB / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.004003, allocations: 12.75 kB / 0.557 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.004043, allocations: 8.891 kB / 0.557 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.004188, allocations: 125.3 kB / 0.5571 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.004198, allocations: 384 / 0.5571 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.004209, allocations: 8.359 kB / 0.5571 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.465e-05/0.004284, allocations: 26.27 kB / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.00429, allocations: 4.125 kB / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.004299, allocations: 384 / 0.5572 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.00433, allocations: 4.375 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.324e-05/0.004343, allocations: 7.875 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.004463, allocations: 116.7 kB / 0.5573 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.004506, allocations: 27.06 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.004525, allocations: 11.75 kB / 0.5573 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.004541, allocations: 0 / 0.5573 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.004563, allocations: 37.39 kB / 0.5574 GB, free: 14.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.004564, allocations: 0 / 0.5574 GB, free: 14.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000125/0.004689, allocations: 45.58 kB / 0.5574 GB, free: 14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.004719, allocations: 51.41 kB / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.004814, allocations: 173.9 kB / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.004822, allocations: 25.7 kB / 0.5576 GB, free: 13.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.004865, allocations: 134.9 kB / 0.5578 GB, free: 13.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.00489, allocations: 8.062 kB / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.004916, allocations: 15.38 kB / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.00504, allocations: 0.4923 MB / 0.5583 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.00505, allocations: 0 / 0.5583 GB, free: 13.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-06/0.005057, allocations: 4 kB / 0.5583 GB, free: 13.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.005086, allocations: 11.69 kB / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005088, allocations: 3.938 kB / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.735e-05/0.005146, allocations: 37.66 kB / 0.5583 GB, free: 12.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.00516, allocations: 4 kB / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.005165, allocations: 96 / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.005177, allocations: 4 kB / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.005228, allocations: 3.984 kB / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.005233, allocations: 4 kB / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.005247, allocations: 3.938 kB / 0.5583 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.005253, allocations: 0 / 0.5583 GB, free: 12.96 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.777e-05/0.005321, allocations: 156.6 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-06/0.005329, allocations: 4 kB / 0.5585 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.051e-05/0.00541, allocations: 41.09 kB / 0.5585 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.005412, allocations: 0 / 0.5585 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.005415, allocations: 4.031 kB / 0.5585 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.005419, allocations: 7.938 kB / 0.5585 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.022e-05/0.005489, allocations: 116.6 kB / 0.5587 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00549, allocations: 0 / 0.5587 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.005505, allocations: 3.984 kB / 0.5587 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005507, allocations: 0 / 0.5587 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.005512, allocations: 0 / 0.5587 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.005514, allocations: 4 kB / 0.5587 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.005516, allocations: 0 / 0.5587 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.425e-05/0.00558, allocations: 76.34 kB / 0.5587 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.005589, allocations: 0 / 0.5587 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.005601, allocations: 8.016 kB / 0.5587 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-06/0.005608, allocations: 3.938 kB / 0.5587 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.005622, allocations: 4 kB / 0.5588 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.005625, allocations: 0 / 0.5588 GB, free: 12.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.151e-05/0.005676, allocations: 135.2 kB / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005676, allocations: 0 / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.005865, allocations: 7.938 kB / 0.5589 GB, free: 12.32 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.0001725/0.006037, allocations: 110.8 kB / 0.559 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.096e-05/0.006108, allocations: 11.69 kB / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.00611, allocations: 0 / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-06/0.006119, allocations: 11.69 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.006257, allocations: 3.984 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.00649, allocations: 118.2 kB / 0.5591 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.006524, allocations: 63.47 kB / 0.5592 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.26e-05/0.006547, allocations: 4 kB / 0.5592 GB, free: 11.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.006567, allocations: 8.5 kB / 0.5592 GB, free: 11.93 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.006568, allocations: 0 / 0.5592 GB, free: 11.93 MB / 490.7 MB Notification: Performance of Templates: time 0.002372/0.008939, allocations: 0.5388 MB / 0.5597 GB, free: 11.39 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.648354149889201]