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.002425/0.002425, allocations: 88.05 kB / 19.44 MB, free: 320 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.002975/0.002975, allocations: 173.3 kB / 22.76 MB, free: 1.641 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.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.003191/0.003191, allocations: 233.5 kB / 259.8 MB, free: 12.84 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 1.202/1.202, allocations: 138.5 MB / 454.7 MB, free: 1.5 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 2.164e-06/2.164e-06, allocations: 3.938 kB / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.043e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.004334/0.004364, allocations: 1.373 MB / 0.5557 GB, free: 15.49 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002567/0.004621, allocations: 39.77 kB / 0.5557 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.004664, allocations: 0 / 0.5557 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.004865, allocations: 19.91 kB / 0.5557 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.005019, allocations: 15.88 kB / 0.5557 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.388e-06/0.005023, allocations: 0 / 0.5557 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.005093, allocations: 11.92 kB / 0.5558 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.005133, allocations: 4 kB / 0.5558 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.606e-05/0.005209, allocations: 15.92 kB / 0.5558 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.005266, allocations: 4 kB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.005291, allocations: 3.984 kB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.00537, allocations: 7.938 kB / 0.5558 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.00543, allocations: 11.98 kB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.00546, allocations: 3.938 kB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.00561, allocations: 23.92 kB / 0.5558 GB, free: 15.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005613, allocations: 3.938 kB / 0.5558 GB, free: 15.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005614, allocations: 0 / 0.5558 GB, free: 15.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.005619, allocations: 0 / 0.5558 GB, free: 15.33 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.0006723/0.006292, allocations: 360.2 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.006353, allocations: 12.75 kB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.006412, allocations: 4.891 kB / 0.5562 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.006678, allocations: 124.5 kB / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.006695, allocations: 4.375 kB / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.006705, allocations: 384 / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.006819, allocations: 30.27 kB / 0.5563 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006828, allocations: 192 / 0.5563 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.006837, allocations: 384 / 0.5563 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.006863, allocations: 4.375 kB / 0.5563 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.481e-05/0.006897, allocations: 7.875 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.007137, allocations: 116.6 kB / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.007227, allocations: 27.09 kB / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.007262, allocations: 7.688 kB / 0.5565 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.007287, allocations: 0 / 0.5565 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.00734, allocations: 37.45 kB / 0.5565 GB, free: 14.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.007342, allocations: 0 / 0.5565 GB, free: 14.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002159/0.007557, allocations: 41.62 kB / 0.5566 GB, free: 14.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.007633, allocations: 55.41 kB / 0.5566 GB, free: 14.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000632/0.008265, allocations: 177.9 kB / 0.5568 GB, free: 14.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.00829, allocations: 25.7 kB / 0.5568 GB, free: 14.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.008404, allocations: 130.9 kB / 0.5569 GB, free: 14.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.00843, allocations: 3.953 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.008491, allocations: 19.38 kB / 0.557 GB, free: 13.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004053/0.008896, allocations: 0.4884 MB / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.008919, allocations: 4 kB / 0.5574 GB, free: 13.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.00893, allocations: 128 / 0.5574 GB, free: 13.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.008985, allocations: 15.75 kB / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008987, allocations: 0 / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001149/0.009102, allocations: 33.64 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.009128, allocations: 11.12 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.009133, allocations: 0 / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.009148, allocations: 0 / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.009203, allocations: 0 / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.009208, allocations: 0 / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.009244, allocations: 15.86 kB / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.009251, allocations: 4.031 kB / 0.5575 GB, free: 13.39 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 0.0001616/0.009413, allocations: 156.5 kB / 0.5577 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.009438, allocations: 8 kB / 0.5577 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.00956, allocations: 37.11 kB / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.009566, allocations: 7.922 kB / 0.5577 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.009569, allocations: 0 / 0.5577 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.009582, allocations: 7.938 kB / 0.5577 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.009755, allocations: 120.6 kB / 0.5578 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.009756, allocations: 0 / 0.5578 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.009784, allocations: 0 / 0.5578 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.009787, allocations: 4.031 kB / 0.5578 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.009797, allocations: 3.984 kB / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009798, allocations: 0 / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009799, allocations: 4 kB / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.009906, allocations: 76.38 kB / 0.5579 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.009915, allocations: 0 / 0.5579 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.009925, allocations: 0 / 0.5579 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.009935, allocations: 0 / 0.5579 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.009954, allocations: 7.984 kB / 0.5579 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.009956, allocations: 0 / 0.5579 GB, free: 12.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.213e-05/0.01005, allocations: 131.2 kB / 0.5581 GB, free: 12.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01005, allocations: 7.969 kB / 0.5581 GB, free: 12.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000183/0.01023, allocations: 7.938 kB / 0.5581 GB, free: 12.75 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.0002152/0.01045, allocations: 112.4 kB / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.086e-05/0.01052, allocations: 11.69 kB / 0.5582 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.01052, allocations: 8.062 kB / 0.5582 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.01054, allocations: 7.688 kB / 0.5582 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.01067, allocations: 4 kB / 0.5582 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.01096, allocations: 114.3 kB / 0.5583 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.263e-05/0.01102, allocations: 59.34 kB / 0.5584 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.01106, allocations: 11.92 kB / 0.5584 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.01108, allocations: 8.5 kB / 0.5584 GB, free: 12.36 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01108, allocations: 3.938 kB / 0.5584 GB, free: 12.35 MB / 490.7 MB Notification: Performance of Templates: time 0.003107/0.01419, allocations: 0.5184 MB / 0.5589 GB, free: 11.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: 5.8159744119038805]