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.0008825/0.0008825, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009034/0.0009034, allocations: 177 kB / 23.36 MB, free: 1.129 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.002499/0.002499, allocations: 245.8 kB / 260.5 MB, free: 12.71 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.7164/0.7164, allocations: 138.4 MB / 402.2 MB, free: 0.4961 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 2.054e-06/2.054e-06, allocations: 0 / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.583e-05, allocations: 3.594 kB / 462.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003533/0.003558, allocations: 1.541 MB / 463.8 MB, free: 15.9 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.005645, allocations: 1.266 MB / 465.1 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.005732, allocations: 6.188 kB / 465.1 MB, free: 15.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.005966, allocations: 18.94 kB / 465.1 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.006243, allocations: 44.97 kB / 465.2 MB, free: 15 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.006464, allocations: 58.98 kB / 465.2 MB, free: 14.97 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.006771, allocations: 153.5 kB / 465.4 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.006939, allocations: 33.97 kB / 465.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.00718, allocations: 101.8 kB / 465.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.007372, allocations: 45.89 kB / 465.5 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/0.007437, allocations: 12.44 kB / 465.6 MB, free: 14.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.007543, allocations: 28.84 kB / 465.6 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.007655, allocations: 50.03 kB / 465.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.007774, allocations: 51 kB / 465.7 MB, free: 14.8 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004709/0.008245, allocations: 184.1 kB / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.008252, allocations: 4 kB / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008253, allocations: 0 / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.008264, allocations: 2.156 kB / 465.9 MB, free: 14.73 MB / 426.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.000948/0.009212, allocations: 379.3 kB / 466.2 MB, free: 14.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.009261, allocations: 10.61 kB / 466.3 MB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.009357, allocations: 17.34 kB / 466.3 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.009699, allocations: 199.6 kB / 466.5 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.009893, allocations: 216.1 kB / 466.7 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.009941, allocations: 10.25 kB / 466.7 MB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.01023, allocations: 185 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.01024, allocations: 1.812 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.01027, allocations: 5.219 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.0103, allocations: 12.53 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.01034, allocations: 13.55 kB / 466.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.01104, allocations: 282 kB / 467.2 MB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.183e-05/0.01112, allocations: 26.5 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.01115, allocations: 16.8 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.01119, allocations: 4 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.01123, allocations: 34.56 kB / 467.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.695e-06/0.01123, allocations: 1.656 kB / 467.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002351/0.01146, allocations: 62.45 kB / 467.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.0115, allocations: 55.39 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.0117, allocations: 179.7 kB / 467.5 MB, free: 13.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.01174, allocations: 31.67 kB / 467.6 MB, free: 13.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.01183, allocations: 116.1 kB / 467.7 MB, free: 13.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.01186, allocations: 27.78 kB / 467.7 MB, free: 12.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.01192, allocations: 25.7 kB / 467.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.01207, allocations: 330.8 kB / 468.1 MB, free: 12.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.01211, allocations: 8.5 kB / 468.1 MB, free: 12.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.0122, allocations: 90.88 kB / 468.2 MB, free: 12.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.01237, allocations: 110.2 kB / 468.3 MB, free: 12.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.01238, allocations: 4.812 kB / 468.3 MB, free: 12.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002166/0.01259, allocations: 103.4 kB / 468.4 MB, free: 12.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.01262, allocations: 4.5 kB / 468.4 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.01263, allocations: 5 kB / 468.4 MB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.01265, allocations: 4 kB / 468.4 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.01278, allocations: 28.81 kB / 468.4 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.01279, allocations: 5.344 kB / 468.4 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.01287, allocations: 7.953 kB / 468.4 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.01289, allocations: 5.281 kB / 468.4 MB, free: 12.19 MB / 426.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.0001355/0.01302, allocations: 128.5 kB / 468.6 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.01308, allocations: 16.92 kB / 468.6 MB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.0133, allocations: 88.66 kB / 468.7 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.0133, allocations: 0 / 468.7 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01331, allocations: 0.6562 kB / 468.7 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.01331, allocations: 0.75 kB / 468.7 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.01354, allocations: 103.7 kB / 468.8 MB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01354, allocations: 4 kB / 468.8 MB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.025e-05/0.0136, allocations: 8 kB / 468.8 MB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.0136, allocations: 5.625 kB / 468.8 MB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.01361, allocations: 1.312 kB / 468.8 MB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01361, allocations: 4.625 kB / 468.8 MB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.01361, allocations: 2.219 kB / 468.8 MB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.01378, allocations: 160.3 kB / 469 MB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.01381, allocations: 15.84 kB / 469 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.01382, allocations: 4 kB / 469 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.01398, allocations: 15.98 kB / 469 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.014, allocations: 0 / 469 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.01402, allocations: 13.03 kB / 469 MB, free: 11.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.673e-05/0.01411, allocations: 59.64 kB / 469.1 MB, free: 11.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01411, allocations: 0.5312 kB / 469.1 MB, free: 11.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003239/0.01443, allocations: 24 kB / 469.1 MB, free: 11.52 MB / 426.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.0002954/0.01473, allocations: 114.5 kB / 469.2 MB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.01486, allocations: 50.52 kB / 469.2 MB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.01486, allocations: 0 / 469.2 MB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.01489, allocations: 26.16 kB / 469.3 MB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01517, allocations: 27.59 kB / 469.3 MB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.01567, allocations: 267.4 kB / 469.6 MB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.362e-05/0.01574, allocations: 79.31 kB / 469.6 MB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.209e-05/0.01583, allocations: 25.14 kB / 469.7 MB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.01611, allocations: 107.8 kB / 469.8 MB, free: 10.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.774e-06/0.01611, allocations: 1.969 kB / 469.8 MB, free: 10.8 MB / 426.7 MB Notification: Performance of Templates: time 0.006685/0.0228, allocations: 2.747 MB / 472.5 MB, free: 8.312 MB / 426.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: 3.616673165000975]