Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.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.002478/0.002478, allocations: 85.48 kB / 19.44 MB, free: 344 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.003077/0.003077, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.641 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.003159/0.003159, allocations: 248.7 kB / 259.8 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 1.169/1.169, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.474e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002993/0.003018, allocations: 1.502 MB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.004916, allocations: 1.243 MB / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.004964, allocations: 0 / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.005136, allocations: 19.86 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.005334, allocations: 43.72 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.005511, allocations: 55.78 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.005751, allocations: 159.5 kB / 0.5573 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.005881, allocations: 29.28 kB / 0.5573 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.006032, allocations: 99.8 kB / 0.5574 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.006194, allocations: 51.88 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.006243, allocations: 8 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.006326, allocations: 24 kB / 0.5575 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.003e-05/0.006416, allocations: 51.81 kB / 0.5575 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.006505, allocations: 51.83 kB / 0.5576 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.006861, allocations: 219.3 kB / 0.5578 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.006865, allocations: 4 kB / 0.5578 GB, free: 13.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006866, allocations: 4 kB / 0.5578 GB, free: 13.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.006871, allocations: 0 / 0.5578 GB, free: 13.31 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007851/0.007656, allocations: 0.5149 MB / 0.5583 GB, free: 12.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.007706, allocations: 8.75 kB / 0.5583 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.18e-05/0.007798, allocations: 28.84 kB / 0.5583 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.008159, allocations: 200 kB / 0.5585 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.00838, allocations: 218.2 kB / 0.5587 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.00841, allocations: 8.375 kB / 0.5587 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.008829, allocations: 232.9 kB / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.008838, allocations: 4.188 kB / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.008861, allocations: 8.125 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.008891, allocations: 12 kB / 0.559 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.008967, allocations: 27.97 kB / 0.559 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.01001, allocations: 435.3 kB / 0.5594 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.561e-05/0.0101, allocations: 35.06 kB / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.01014, allocations: 27.67 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.01017, allocations: 7.984 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.01021, allocations: 37.39 kB / 0.5595 GB, free: 11.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.01021, allocations: 0 / 0.5595 GB, free: 11.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002811/0.01049, allocations: 85.53 kB / 0.5596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.01054, allocations: 55.41 kB / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.01086, allocations: 282.8 kB / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.0109, allocations: 29.7 kB / 0.5599 GB, free: 10.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.01103, allocations: 178.8 kB / 0.5601 GB, free: 10.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.01107, allocations: 27.98 kB / 0.5601 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.01113, allocations: 39.36 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002941/0.01143, allocations: 0.5157 MB / 0.5607 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.82e-05/0.01148, allocations: 15.98 kB / 0.5607 GB, free: 10.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.01165, allocations: 132.1 kB / 0.5608 GB, free: 9.863 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.01187, allocations: 160.1 kB / 0.561 GB, free: 9.656 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.01187, allocations: 4 kB / 0.561 GB, free: 9.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002674/0.01214, allocations: 145.6 kB / 0.5611 GB, free: 9.504 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01216, allocations: 11.03 kB / 0.5611 GB, free: 9.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01216, allocations: 4 kB / 0.5611 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01218, allocations: 4 kB / 0.5611 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.01229, allocations: 23.98 kB / 0.5612 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.0123, allocations: 7.938 kB / 0.5612 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.01236, allocations: 11.89 kB / 0.5612 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.01238, allocations: 4 kB / 0.5612 GB, free: 9.441 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001718/0.01255, allocations: 184.5 kB / 0.5614 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.01261, allocations: 19.91 kB / 0.5614 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.01284, allocations: 111.1 kB / 0.5615 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01284, allocations: 4 kB / 0.5615 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.01285, allocations: 0 / 0.5615 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.01285, allocations: 0 / 0.5615 GB, free: 9.109 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.01311, allocations: 180.5 kB / 0.5617 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.01311, allocations: 4 kB / 0.5617 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.01316, allocations: 8 kB / 0.5617 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01316, allocations: 4 kB / 0.5617 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01318, allocations: 4 kB / 0.5617 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01318, allocations: 0 / 0.5617 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01318, allocations: 0 / 0.5617 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.01346, allocations: 243.7 kB / 0.5619 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.01349, allocations: 15.91 kB / 0.5619 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.01351, allocations: 4 kB / 0.5619 GB, free: 8.602 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.01371, allocations: 11.98 kB / 0.5619 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.01373, allocations: 7.984 kB / 0.5619 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.01376, allocations: 11.92 kB / 0.562 GB, free: 8.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001991/0.01396, allocations: 209.4 kB / 0.5622 GB, free: 8.367 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01396, allocations: 0 / 0.5622 GB, free: 8.367 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003062/0.01427, allocations: 35.89 kB / 0.5622 GB, free: 8.332 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 (8): * Single equations (assignments): 8 * 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.0002823/0.01455, allocations: 122.2 kB / 0.5623 GB, free: 8.211 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.01473, allocations: 76.2 kB / 0.5624 GB, free: 8.133 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01473, allocations: 0 / 0.5624 GB, free: 8.133 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.01479, allocations: 39.67 kB / 0.5624 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.01511, allocations: 31.91 kB / 0.5624 GB, free: 8.059 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.01568, allocations: 282.7 kB / 0.5627 GB, free: 7.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.01581, allocations: 110.2 kB / 0.5628 GB, free: 7.625 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.01593, allocations: 52.8 kB / 0.5629 GB, free: 7.574 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.01597, allocations: 20.5 kB / 0.5629 GB, free: 7.555 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01597, allocations: 0 / 0.5629 GB, free: 7.555 MB / 490.7 MB Notification: Performance of Templates: time 0.00645/0.02242, allocations: 2.474 MB / 0.5653 GB, free: 5.117 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.922703647054732]