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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001027/0.001027, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001012/0.001012, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.946/2.946, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003465, allocations: 7.438 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3759, allocations: 159.6 MB / 1.058 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.001723/0.3777, allocations: 1.061 MB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.3779, allocations: 39.84 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.3779, allocations: 0 / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.3781, allocations: 19.92 kB / 1.059 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3782, allocations: 7.938 kB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.655e-06/0.3783, allocations: 0 / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.337e-05/0.3783, allocations: 11.94 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.533e-05/0.3784, allocations: 7.969 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.3784, allocations: 4 kB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.3785, allocations: 11.94 kB / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3785, allocations: 0 / 1.059 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.014e-05/0.3786, allocations: 11.98 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.3786, allocations: 3.938 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.3786, allocations: 25.7 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.28e-05/0.3787, allocations: 27.97 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3787, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3787, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3787, allocations: 0 / 1.059 GB, free: 4.047 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003558/0.3791, allocations: 327.5 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3792, allocations: 12.03 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.3792, allocations: 3.906 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.3794, allocations: 171.1 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.3794, allocations: 0 / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.3794, allocations: 7.953 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.199e-05/0.3795, allocations: 29.7 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3795, allocations: 0 / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3795, allocations: 0 / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.3796, allocations: 7.938 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.3796, allocations: 0 / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.3798, allocations: 153.7 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.923e-05/0.3798, allocations: 18.58 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.3798, allocations: 8.859 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3799, allocations: 7.938 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.3799, allocations: 34.56 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3799, allocations: 0 / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001764/0.3801, allocations: 37.7 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.3801, allocations: 51.41 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3803, allocations: 118 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3803, allocations: 29.83 kB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.3804, allocations: 84.14 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.3804, allocations: 3.984 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.3804, allocations: 0 / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3805, allocations: 314.8 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.3806, allocations: 4 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.3806, allocations: 0 / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.865e-05/0.3806, allocations: 7.938 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3806, allocations: 8 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.56e-05/0.3807, allocations: 37.62 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3807, allocations: 11.95 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3807, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3807, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.3808, allocations: 0 / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.3808, allocations: 4.062 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.3808, allocations: 4 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.3808, allocations: 0 / 1.061 GB, free: 2.363 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.011e-05/0.3809, allocations: 113.9 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.3809, allocations: 7.906 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.465e-05/0.381, allocations: 45.11 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3811, allocations: 0 / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3811, allocations: 4 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3811, allocations: 0 / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.3812, allocations: 153.7 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3812, allocations: 0 / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.359e-05/0.3812, allocations: 3.984 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3812, allocations: 0 / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.3812, allocations: 4.031 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3812, allocations: 7.953 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3812, allocations: 0 / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.425e-05/0.3813, allocations: 57.14 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.3814, allocations: 89 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3814, allocations: 0 / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-06/0.3814, allocations: 0 / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.3814, allocations: 11.92 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3815, allocations: 4 kB / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.645e-05/0.3815, allocations: 99.25 kB / 1.061 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3815, allocations: 0 / 1.061 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001903/0.3817, allocations: 8 kB / 1.061 GB, free: 1.664 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/0.3819, allocations: 103.6 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.522e-05/0.382, allocations: 8 kB / 1.061 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.382, allocations: 7.875 kB / 1.061 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.3821, allocations: 7.984 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.3822, allocations: 4.109 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.3825, allocations: 113 kB / 1.061 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.3828, allocations: 0.681 MB / 1.062 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.703e-05/0.3829, allocations: 7.984 kB / 1.062 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.3829, allocations: 7.438 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3829, allocations: 0 / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of Templates: time 0.002883/0.3858, allocations: 452.8 kB / 1.063 GB, free: 240 kB / 0.8106 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)