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.00153/0.00153, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001646/0.001646, allocations: 173 kB / 23.49 MB, free: 1.059 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.9777/0.9777, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.001644/0.001644, allocations: 233.9 kB / 260.5 MB, free: 12.89 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.7287/0.7287, allocations: 138.4 MB / 455.4 MB, free: 1.562 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.333e-06/1.333e-06, allocations: 0 / 0.555 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.735e-05, allocations: 5.828 kB / 0.555 GB, free: 0.918 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.001712/0.001729, allocations: 1.408 MB / 0.5564 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001179/0.001847, allocations: 43.81 kB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.00189, allocations: 0 / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.002058, allocations: 7.922 kB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.002166, allocations: 15.88 kB / 0.5565 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.446e-06/0.00217, allocations: 0 / 0.5565 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.002233, allocations: 19.92 kB / 0.5565 GB, free: 15.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.002281, allocations: 11.92 kB / 0.5565 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.814e-05/0.002329, allocations: 4 kB / 0.5565 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.002379, allocations: 11.92 kB / 0.5565 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.002402, allocations: 0 / 0.5565 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.149e-05/0.002443, allocations: 12 kB / 0.5565 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.002482, allocations: 0 / 0.5565 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.002505, allocations: 11.92 kB / 0.5565 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.525e-05/0.0026, allocations: 27.91 kB / 0.5566 GB, free: 15.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002602, allocations: 0 / 0.5566 GB, free: 15.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.002603, allocations: 0 / 0.5566 GB, free: 15.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.002607, allocations: 4 kB / 0.5566 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.0002995/0.002906, allocations: 352.6 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.002941, allocations: 8.75 kB / 0.5569 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.002979, allocations: 8.891 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.003117, allocations: 125.3 kB / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.003127, allocations: 384 / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.003136, allocations: 4.359 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.718e-05/0.003203, allocations: 38.14 kB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.003209, allocations: 192 / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.003216, allocations: 384 / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.003243, allocations: 4.375 kB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.4e-05/0.003257, allocations: 7.938 kB / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.00336, allocations: 116.7 kB / 0.5572 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.227e-05/0.003393, allocations: 23.06 kB / 0.5572 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.003408, allocations: 7.688 kB / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.003422, allocations: 4.062 kB / 0.5572 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.003441, allocations: 37.33 kB / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.003442, allocations: 0 / 0.5573 GB, free: 14.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001164/0.003558, allocations: 41.66 kB / 0.5573 GB, free: 14.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.003593, allocations: 51.53 kB / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.003958, allocations: 181.8 kB / 0.5575 GB, free: 14.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.003965, allocations: 25.7 kB / 0.5576 GB, free: 14.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.004, allocations: 130.9 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.004018, allocations: 3.938 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.00404, allocations: 19.38 kB / 0.5577 GB, free: 13.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.004141, allocations: 492.1 kB / 0.5582 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-06/0.004151, allocations: 8 kB / 0.5582 GB, free: 13.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.223e-06/0.004158, allocations: 3.984 kB / 0.5582 GB, free: 13.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2e-05/0.004178, allocations: 15.62 kB / 0.5582 GB, free: 13.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.00418, allocations: 4.062 kB / 0.5582 GB, free: 13.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.746e-05/0.004217, allocations: 33.66 kB / 0.5582 GB, free: 13.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.004231, allocations: 8 kB / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.004234, allocations: 0 / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.004246, allocations: 0 / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.54e-05/0.004291, allocations: 0 / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.004295, allocations: 0 / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.004307, allocations: 7.938 kB / 0.5582 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004312, allocations: 0 / 0.5582 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 5.607e-05/0.004368, allocations: 156.6 kB / 0.5584 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-06/0.004373, allocations: 8.031 kB / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.549e-05/0.004439, allocations: 41.11 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.00444, allocations: 0 / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.004444, allocations: 0 / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.004448, allocations: 7.875 kB / 0.5585 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.089e-05/0.004509, allocations: 124.6 kB / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.00451, allocations: 0 / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-06/0.004517, allocations: 4 kB / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.004518, allocations: 0 / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.004526, allocations: 0 / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004527, allocations: 0 / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.004528, allocations: 8.016 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.949e-05/0.004578, allocations: 76.28 kB / 0.5587 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.004587, allocations: 11.98 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-06/0.004595, allocations: 0 / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.458e-06/0.004599, allocations: 0 / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.004614, allocations: 3.984 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.004615, allocations: 4 kB / 0.5587 GB, free: 12.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.004653, allocations: 127.5 kB / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004653, allocations: 0 / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001229/0.004776, allocations: 7.938 kB / 0.5588 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.0001481/0.004924, allocations: 119.3 kB / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.929e-05/0.004983, allocations: 11.69 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.004985, allocations: 0 / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.004992, allocations: 15.62 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.903e-05/0.005091, allocations: 4.125 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.00531, allocations: 118.2 kB / 0.5591 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.733e-05/0.005337, allocations: 59.34 kB / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.005355, allocations: 0 / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.005372, allocations: 12.5 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.005373, allocations: 0 / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of Templates: time 0.001952/0.007325, allocations: 0.5099 MB / 0.5596 GB, free: 11.84 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.5628337948583066]