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.001446/0.001446, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.14 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2803, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00258/0.2829, allocations: 1.378 MB / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001506/0.2831, allocations: 36.36 kB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.2831, allocations: 4 kB / 1.07 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.2833, allocations: 15.92 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.2834, allocations: 11.92 kB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.551e-06/0.2834, allocations: 4 kB / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.2835, allocations: 15.94 kB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.2835, allocations: 0 / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.2836, allocations: 11.92 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.2836, allocations: 7.938 kB / 1.07 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2836, allocations: 3.938 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.2837, allocations: 27.92 kB / 1.07 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.2837, allocations: 3.984 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.2838, allocations: 11.94 kB / 1.07 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.471e-05/0.2839, allocations: 23.91 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2839, allocations: 0 / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2839, allocations: 0 / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2839, allocations: 4 kB / 1.07 GB, free: 8.941 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.0003056/0.2842, allocations: 339.7 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2843, allocations: 8.031 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.2843, allocations: 0.9375 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.2844, allocations: 180.3 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.2844, allocations: 384 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.2845, allocations: 4.375 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.342e-05/0.2845, allocations: 26.27 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.2846, allocations: 192 / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.2846, allocations: 7.938 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.2846, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.134e-05/0.2846, allocations: 3.938 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.2848, allocations: 161.6 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.679e-05/0.2848, allocations: 18.61 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.2848, allocations: 12.84 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2848, allocations: 4.062 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.2849, allocations: 30.56 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2849, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.285, allocations: 41.58 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.285, allocations: 55.53 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.946e-05/0.2851, allocations: 113.8 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.2852, allocations: 25.7 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.2852, allocations: 92.12 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.2852, allocations: 3.906 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.2853, allocations: 9.719 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.2854, allocations: 318.8 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.2854, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.2854, allocations: 4 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.2854, allocations: 12.84 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2854, allocations: 3.938 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.449e-05/0.2855, allocations: 37.7 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2855, allocations: 4 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2855, allocations: 7.938 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2855, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.752e-05/0.2856, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2856, allocations: 3.938 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.269e-05/0.2856, allocations: 4.094 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.2856, allocations: 4 kB / 1.071 GB, free: 7.207 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.385e-05/0.2857, allocations: 109.8 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.2857, allocations: 7.906 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.843e-05/0.2858, allocations: 49.09 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2858, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2858, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2858, allocations: 4 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.494e-05/0.2859, allocations: 157.7 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2859, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/0.2859, allocations: 4 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.2859, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.286, allocations: 7.875 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.286, allocations: 4 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.286, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.412e-05/0.286, allocations: 61.12 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.2861, allocations: 85.05 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.2861, allocations: 3.938 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-06/0.2861, allocations: 3.938 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.2861, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.2861, allocations: 4 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.2862, allocations: 95.27 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2862, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001962/0.2864, allocations: 4 kB / 1.072 GB, free: 6.512 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.0001883/0.2866, allocations: 129.2 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.026e-05/0.2867, allocations: 4 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2867, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.048e-05/0.2867, allocations: 11.94 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2868, allocations: 1.562 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.2871, allocations: 121.5 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.2873, allocations: 0.6807 MB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.767e-05/0.2874, allocations: 3.984 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.2874, allocations: 11.44 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2874, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.002328/0.2897, allocations: 498.9 kB / 1.073 GB, free: 5.016 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)