Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001027, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007402/0.007402, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003264, allocations: 9.125 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2914, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001773/0.2932, allocations: 1.205 MB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2946, allocations: 1.085 MB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.2947, allocations: 3.938 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.2949, allocations: 11.92 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.2951, allocations: 35.91 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.2953, allocations: 54.98 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.2955, allocations: 143.6 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2956, allocations: 61.08 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.2957, allocations: 63.77 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.2959, allocations: 51.66 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.296, allocations: 8 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.296, allocations: 23.97 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.2961, allocations: 31.91 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.2962, allocations: 97.22 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.2964, allocations: 191.6 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2964, allocations: 4 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2964, allocations: 0 / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2965, allocations: 0 / 1.062 GB, free: 2.387 MB / 0.8106 GB 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.0006053/0.2971, allocations: 450.8 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2971, allocations: 16.03 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.2972, allocations: 16.75 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.2975, allocations: 259.9 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.2976, allocations: 119.4 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.2976, allocations: 8.375 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.298, allocations: 173.7 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.298, allocations: 0 / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.298, allocations: 0 / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.2981, allocations: 12 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.2982, allocations: 47.84 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.2992, allocations: 472.5 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/0.2993, allocations: 38.5 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.2993, allocations: 24.84 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.2994, allocations: 4.156 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2994, allocations: 34.56 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.2994, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002552/0.2997, allocations: 117.4 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.2997, allocations: 55.34 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.2999, allocations: 223.8 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.3, allocations: 25.7 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.3, allocations: 120.1 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.3001, allocations: 27.55 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.3001, allocations: 17.72 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.3002, allocations: 334.8 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.3003, allocations: 27.98 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3004, allocations: 102.2 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.3006, allocations: 146.1 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3006, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002375/0.3008, allocations: 153.6 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3008, allocations: 8.938 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3009, allocations: 4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3009, allocations: 7.984 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.301, allocations: 19.98 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.301, allocations: 11.88 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.3011, allocations: 7.938 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3011, allocations: 12 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB 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.0001138/0.3012, allocations: 139.3 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.3013, allocations: 19.81 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.3015, allocations: 126.7 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3015, allocations: 4 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3015, allocations: 3.938 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3015, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.3017, allocations: 229.6 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3018, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.3018, allocations: 12 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3018, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.3018, allocations: 4 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3018, allocations: 3.984 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3018, allocations: 11.94 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.302, allocations: 187.3 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.3021, allocations: 92.86 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3021, allocations: 0 / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.3024, allocations: 35.97 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.3024, allocations: 11.92 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.3025, allocations: 11.97 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001414/0.3026, allocations: 161.5 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3026, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003176/0.3029, allocations: 28 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB 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.0002432/0.3032, allocations: 117.1 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.3034, allocations: 75.81 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3034, allocations: 0.75 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.451e-05/0.3034, allocations: 27.92 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.3038, allocations: 20 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.3043, allocations: 334.3 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.3046, allocations: 0.7355 MB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.3047, allocations: 49.02 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.3048, allocations: 19.42 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.3048, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.005028/0.3098, allocations: 2.315 MB / 1.069 GB, free: 10.16 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)