Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002082/0.002082, allocations: 192.1 kB / 16.14 MB, free: 6.695 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 69.73 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3426, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003191/0.3458, allocations: 1.43 MB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.346, allocations: 39.89 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.3461, allocations: 3.938 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.3463, allocations: 11.92 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.3464, allocations: 11.94 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.3464, allocations: 0 / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.312e-05/0.3465, allocations: 15.98 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.671e-05/0.3466, allocations: 4 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.3466, allocations: 11.88 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.3467, allocations: 11.92 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3467, allocations: 0 / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/0.3468, allocations: 15.98 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.3468, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.3468, allocations: 11.94 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.347, allocations: 27.91 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.347, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.347, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.347, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8262 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.0004112/0.3474, allocations: 340.9 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3474, allocations: 12.03 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.3475, allocations: 4.938 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3477, allocations: 176.2 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3477, allocations: 384 / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.3477, allocations: 384 / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3479, allocations: 38.19 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3479, allocations: 192 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3479, allocations: 7.938 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.3479, allocations: 4 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.348, allocations: 4 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.3481, allocations: 153.7 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.569e-05/0.3482, allocations: 18.58 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.3482, allocations: 8.844 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3482, allocations: 0 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3483, allocations: 38.56 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3483, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.3484, allocations: 41.62 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3485, allocations: 55.41 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3486, allocations: 113.8 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3486, allocations: 25.7 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.3487, allocations: 84.14 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3487, allocations: 3.906 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.3487, allocations: 17.84 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3489, allocations: 314.8 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.3489, allocations: 8 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-06/0.3489, allocations: 3.938 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.3489, allocations: 12.8 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3489, allocations: 0 / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.53e-05/0.349, allocations: 41.69 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.349, allocations: 8.094 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.349, allocations: 3.938 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3491, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.3491, allocations: 8 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3491, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.3492, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3492, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 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 6.853e-05/0.3492, allocations: 113.8 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.3493, allocations: 3.906 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.3494, allocations: 57.09 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3494, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3494, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3494, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.3495, allocations: 153.7 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3495, allocations: 3.984 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.3495, allocations: 4 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3495, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3496, allocations: 3.938 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3496, allocations: 0 / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3496, allocations: 32 / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.907e-05/0.3497, allocations: 65.08 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.3497, allocations: 89 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.3497, allocations: 3.938 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.3497, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.3498, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.3498, allocations: 0 / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.18e-05/0.3498, allocations: 99.3 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3498, allocations: 0 / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002008/0.35, allocations: 8 kB / 1.071 GB, free: 6.848 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 (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.0001933/0.3502, allocations: 110.7 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.6e-05/0.3503, allocations: 7.984 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3503, allocations: 4.062 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.3503, allocations: 7.938 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.3505, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.3508, allocations: 123.2 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.351, allocations: 0.677 MB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.3511, allocations: 4 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.3511, allocations: 7.5 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3511, allocations: 4 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of Templates: time 0.002498/0.3536, allocations: 499.7 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)