Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_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.001248/0.001248, allocations: 97.64 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.01116/0.01116, allocations: 170.1 kB / 16.27 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 8.75 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001715/0.311, allocations: 1.089 MB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.3111, allocations: 51.75 kB / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.3112, allocations: 0 / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.3114, allocations: 11.94 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.3115, allocations: 11.98 kB / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.3115, allocations: 0 / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.3115, allocations: 19.92 kB / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.3116, allocations: 0 / 1.06 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.3116, allocations: 11.92 kB / 1.06 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.3117, allocations: 4 kB / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3117, allocations: 0 / 1.06 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-05/0.3118, allocations: 16 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.3118, allocations: 7.922 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.3119, allocations: 33.64 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.88e-05/0.312, allocations: 31.89 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.312, allocations: 0 / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.312, allocations: 3.938 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.312, allocations: 0 / 1.06 GB, free: 4.188 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.0003316/0.3123, allocations: 335.7 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3124, allocations: 8.031 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.3125, allocations: 8.844 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3127, allocations: 172.4 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.3127, allocations: 4.375 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.3127, allocations: 384 / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.3128, allocations: 30.27 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3128, allocations: 4.172 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3128, allocations: 3.938 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.3128, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.3129, allocations: 3.984 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.313, allocations: 161.6 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.3131, allocations: 18.61 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.3131, allocations: 8.922 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3131, allocations: 7.984 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3131, allocations: 30.56 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 3.016e-06/0.3131, allocations: 0 / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.3133, allocations: 49.52 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3133, allocations: 59.44 kB / 1.061 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3135, allocations: 113.8 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.3135, allocations: 25.7 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.3135, allocations: 92.08 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.3136, allocations: 0 / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.3136, allocations: 9.719 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3137, allocations: 314.8 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.3137, allocations: 4 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.3137, allocations: 4 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.3138, allocations: 12.84 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3138, allocations: 0 / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.085e-05/0.3138, allocations: 45.55 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3139, allocations: 4 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3139, allocations: 3.938 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.3139, allocations: 0 / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.3139, allocations: 4 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.314, allocations: 416 / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.314, allocations: 7.984 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.314, allocations: 0 / 1.061 GB, free: 2.445 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.801e-05/0.3141, allocations: 111.4 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.3141, allocations: 0 / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.743e-05/0.3142, allocations: 53.16 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3142, allocations: 0 / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3142, allocations: 3.938 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3142, allocations: 0 / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.3144, allocations: 157.7 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3144, allocations: 0 / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.3144, allocations: 4 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3144, allocations: 0 / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3144, allocations: 3.938 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3144, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3144, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.948e-05/0.3145, allocations: 65.03 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.3146, allocations: 85.14 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3146, allocations: 3.938 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.213e-05/0.3146, allocations: 11.92 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.3146, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3146, allocations: 0 / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.3147, allocations: 95.27 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3147, allocations: 0 / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001938/0.3149, allocations: 11.92 kB / 1.062 GB, free: 1.75 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 (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.000206/0.3151, allocations: 110.9 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.87e-05/0.3152, allocations: 8 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3152, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.3152, allocations: 4 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.3153, allocations: 1.969 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.3156, allocations: 116.8 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3158, allocations: 0.6809 MB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.341e-05/0.3159, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.3159, allocations: 15.42 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3159, allocations: 0 / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of Templates: time 0.00258/0.3185, allocations: 494.6 kB / 1.063 GB, free: 288 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)