Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002279/0.002279, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 482.3 MB / 0.7542 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 73.98 kB / 0.9232 GB, free: 29.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2903, allocations: 162.2 MB / 1.082 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002749/0.2931, allocations: 1.407 MB / 1.083 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001432/0.2932, allocations: 39.83 kB / 1.083 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.2933, allocations: 0 / 1.083 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2934, allocations: 11.94 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.894e-05/0.2936, allocations: 15.97 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.657e-06/0.2936, allocations: 3.938 kB / 1.083 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.891e-05/0.2936, allocations: 11.94 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.2937, allocations: 4 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.175e-05/0.2937, allocations: 7.938 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.2938, allocations: 7.984 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2938, allocations: 4 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-05/0.2938, allocations: 4 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.2939, allocations: 7.938 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.2939, allocations: 15.86 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.294, allocations: 27.92 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.294, allocations: 0 / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.294, allocations: 0 / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.294, allocations: 0 / 1.083 GB, free: 12.19 MB / 0.8419 GB 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.000392/0.2944, allocations: 339.7 kB / 1.083 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2945, allocations: 8.031 kB / 1.083 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.2945, allocations: 0.9375 kB / 1.083 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.2947, allocations: 176.3 kB / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.2947, allocations: 4.375 kB / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.2947, allocations: 384 / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/0.2948, allocations: 34.27 kB / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2948, allocations: 192 / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2948, allocations: 3.938 kB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.2948, allocations: 0 / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.2949, allocations: 7.938 kB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.295, allocations: 153.7 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/0.2951, allocations: 22.61 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.2951, allocations: 8.859 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2951, allocations: 0 / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.2952, allocations: 42.55 kB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2952, allocations: 0 / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.2953, allocations: 41.58 kB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2954, allocations: 51.41 kB / 1.084 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.2955, allocations: 121.7 kB / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.2955, allocations: 25.83 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.2956, allocations: 88.14 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.2956, allocations: 0 / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.2956, allocations: 17.7 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2958, allocations: 314.8 kB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.2958, allocations: 4 kB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-06/0.2958, allocations: 0 / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.2958, allocations: 8.859 kB / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2958, allocations: 4.062 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.156e-05/0.2959, allocations: 45.56 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2959, allocations: 4 kB / 1.085 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2959, allocations: 3.938 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.296, allocations: 0 / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.296, allocations: 4 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.296, allocations: 0 / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.296, allocations: 0 / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.296, allocations: 0 / 1.085 GB, free: 10.46 MB / 0.8419 GB 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 9.166e-05/0.2961, allocations: 117.9 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.2961, allocations: 7.891 kB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.2962, allocations: 45.11 kB / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2963, allocations: 0 / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2963, allocations: 0 / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2963, allocations: 3.984 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2964, allocations: 153.7 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2964, allocations: 0 / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.2964, allocations: 7.984 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2964, allocations: 32 / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2964, allocations: 7.938 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2964, allocations: 0 / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2965, allocations: 0 / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.384e-05/0.2965, allocations: 57.14 kB / 1.085 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.2966, allocations: 88.94 kB / 1.085 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.2966, allocations: 3.938 kB / 1.085 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.2966, allocations: 4 kB / 1.085 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.2966, allocations: 4.031 kB / 1.085 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.2967, allocations: 7.938 kB / 1.085 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.2967, allocations: 91.27 kB / 1.085 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2967, allocations: 0 / 1.085 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000186/0.2969, allocations: 4 kB / 1.085 GB, free: 9.766 MB / 0.8419 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 (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.0001988/0.2971, allocations: 117.6 kB / 1.085 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.956e-05/0.2972, allocations: 4 kB / 1.085 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2972, allocations: 0 / 1.085 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.2972, allocations: 7.984 kB / 1.085 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.2974, allocations: 3.938 kB / 1.085 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.2976, allocations: 117.5 kB / 1.085 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.2979, allocations: 0.6885 MB / 1.086 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.01e-05/0.298, allocations: 4 kB / 1.086 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.298, allocations: 7.438 kB / 1.086 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.298, allocations: 0 / 1.086 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of Templates: time 0.002634/0.3007, allocations: 477.8 kB / 1.087 GB, free: 8.301 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)