Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00123/0.00123, 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.001354/0.001354, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 61.84 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3207, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002513/0.3233, allocations: 1.42 MB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001354/0.3235, allocations: 47.81 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.3235, allocations: 4 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.3236, allocations: 7.922 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.3237, allocations: 8 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.766e-06/0.3238, allocations: 3.938 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.3238, allocations: 27.91 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.3239, allocations: 0 / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.3239, allocations: 7.938 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.785e-05/0.3239, allocations: 15.88 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.324, allocations: 0 / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.324, allocations: 11.98 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.324, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.3241, allocations: 11.94 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.535e-05/0.3242, allocations: 31.89 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3242, allocations: 0 / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3242, allocations: 4 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.3242, allocations: 0 / 1.069 GB, free: 9.27 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.0002925/0.3245, allocations: 335.7 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3245, allocations: 12.03 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.3246, allocations: 4.938 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3247, allocations: 172.3 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.3247, allocations: 4.312 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3247, allocations: 4.359 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.411e-05/0.3248, allocations: 38.25 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3248, allocations: 4.188 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3249, allocations: 3.938 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.3249, allocations: 11.92 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.3249, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.3251, allocations: 153.7 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.615e-05/0.3251, allocations: 18.61 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.3252, allocations: 4.859 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3252, allocations: 4 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3252, allocations: 38.62 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3252, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.3254, allocations: 41.56 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3254, allocations: 55.41 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.3255, allocations: 117.8 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3255, allocations: 25.7 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.3256, allocations: 84.27 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.3256, allocations: 11.91 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.3256, allocations: 9.719 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.3257, allocations: 314.8 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.3257, allocations: 7.984 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.3258, allocations: 0 / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.3258, allocations: 12.8 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3258, allocations: 0 / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.891e-05/0.3259, allocations: 41.77 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3259, allocations: 7.938 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3259, allocations: 3.938 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3259, allocations: 4 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.326, allocations: 3.984 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.326, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.326, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.326, allocations: 0 / 1.071 GB, free: 7.523 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.543e-05/0.3261, allocations: 109.8 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.3261, allocations: 7.938 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/0.3262, allocations: 53.09 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3262, allocations: 3.938 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3262, allocations: 0 / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3262, allocations: 0 / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.506e-05/0.3263, allocations: 153.7 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3263, allocations: 4 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.3263, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3263, allocations: 0 / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.3263, allocations: 7.922 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3264, allocations: 4.031 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3264, allocations: 8 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.081e-05/0.3264, allocations: 61.08 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.3265, allocations: 81.02 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3265, allocations: 7.922 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.3265, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-06/0.3265, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3265, allocations: 4.031 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.3266, allocations: 95.28 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3266, allocations: 0 / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001935/0.3268, allocations: 7.984 kB / 1.071 GB, free: 6.82 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.000174/0.327, allocations: 108.4 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.379e-05/0.327, allocations: 8 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3271, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.3271, allocations: 4 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.3272, allocations: 7.984 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.3275, allocations: 127.1 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3277, allocations: 0.677 MB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.853e-05/0.3278, allocations: 12.11 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.3278, allocations: 7.438 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3278, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of Templates: time 0.002401/0.3302, allocations: 491.1 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)