Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 98.03 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.007205/0.007205, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003927, allocations: 16.62 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3402, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001293/0.3416, allocations: 0.9627 MB / 1.075 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3435, allocations: 1.243 MB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.364e-05/0.3435, allocations: 0 / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.3435, allocations: 0 / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000632/0.3442, allocations: 166.8 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.3443, allocations: 27.91 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.453e-05/0.3443, allocations: 11.98 kB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.3444, allocations: 0 / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.45e-05/0.3444, allocations: 15.92 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4324/0.7768, allocations: 28.17 MB / 1.104 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.7768, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.7769, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.7769, allocations: 4 kB / 1.104 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.7769, allocations: 33.67 kB / 1.104 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.706e-05/0.777, allocations: 11.88 kB / 1.104 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.777, allocations: 4 kB / 1.104 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.777, allocations: 0 / 1.104 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.777, allocations: 0 / 1.104 GB, free: 11.81 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002828/0.7773, allocations: 323.6 kB / 1.104 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.7774, allocations: 8.031 kB / 1.104 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.7774, allocations: 76.22 kB / 1.104 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.7776, allocations: 247.5 kB / 1.105 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.7779, allocations: 150.9 kB / 1.105 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.778, allocations: 150.9 kB / 1.105 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.869e-05/0.778, allocations: 105.1 kB / 1.105 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.7781, allocations: 79.28 kB / 1.105 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.7781, allocations: 150.6 kB / 1.105 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.585e-05/0.7782, allocations: 154.5 kB / 1.105 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.7782, allocations: 162.5 kB / 1.106 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.7785, allocations: 438 kB / 1.106 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.7786, allocations: 173.1 kB / 1.106 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.7787, allocations: 88.19 kB / 1.106 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.7787, allocations: 75.28 kB / 1.106 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.7787, allocations: 113.7 kB / 1.106 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.7788, allocations: 0 / 1.106 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.175e-05/0.7788, allocations: 33.69 kB / 1.106 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.7789, allocations: 207.8 kB / 1.107 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.7791, allocations: 97.86 kB / 1.107 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.7791, allocations: 25.7 kB / 1.107 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.7791, allocations: 80.14 kB / 1.107 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.7791, allocations: 0 / 1.107 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.7792, allocations: 9.719 kB / 1.107 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7793, allocations: 314.8 kB / 1.107 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.7793, allocations: 8 kB / 1.107 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.7793, allocations: 22.52 kB / 1.107 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.7794, allocations: 79.28 kB / 1.107 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.7794, allocations: 75.28 kB / 1.107 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.887e-05/0.7795, allocations: 29.64 kB / 1.107 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.7795, allocations: 83.28 kB / 1.107 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/0.7795, allocations: 87.2 kB / 1.108 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.738e-05/0.7796, allocations: 158.4 kB / 1.108 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-05/0.7796, allocations: 75.28 kB / 1.108 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.905e-05/0.7797, allocations: 162.5 kB / 1.108 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.7798, allocations: 79.28 kB / 1.108 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.7799, allocations: 83.27 kB / 1.108 GB, free: 7.43 MB / 0.8575 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 (0): * Single equations (assignments): 0 * 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 0.0001251/0.78, allocations: 266.1 kB / 1.108 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.7801, allocations: 112.9 kB / 1.108 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.7801, allocations: 107.9 kB / 1.109 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.855e-05/0.7802, allocations: 184.2 kB / 1.109 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/0.7803, allocations: 180.3 kB / 1.109 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.843e-05/0.7803, allocations: 184.2 kB / 1.109 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.7806, allocations: 401.2 kB / 1.109 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-05/0.7806, allocations: 113 kB / 1.11 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.7806, allocations: 108.9 kB / 1.11 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-05/0.7807, allocations: 176.3 kB / 1.11 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.7808, allocations: 176.3 kB / 1.11 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.543e-05/0.7808, allocations: 188.5 kB / 1.11 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.674e-05/0.7809, allocations: 176.3 kB / 1.11 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.781, allocations: 312 kB / 1.111 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.7811, allocations: 186 kB / 1.111 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/0.7812, allocations: 188.2 kB / 1.111 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.7813, allocations: 113 kB / 1.111 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.7814, allocations: 180.2 kB / 1.111 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.7814, allocations: 101 kB / 1.111 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.913e-05/0.7815, allocations: 83.27 kB / 1.111 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7815, allocations: 0 / 1.111 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002648/0.7818, allocations: 4 kB / 1.111 GB, free: 3.742 MB / 0.8575 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 (0): * Single equations (assignments): 0 * 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.000154/0.7819, allocations: 178.5 kB / 1.112 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.587e-05/0.782, allocations: 7.938 kB / 1.112 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.782, allocations: 0 / 1.112 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.782, allocations: 0 / 1.112 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.7824, allocations: 0.528 MB / 1.112 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.7826, allocations: 167.9 kB / 1.112 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.7829, allocations: 0.677 MB / 1.113 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.7829, allocations: 0 / 1.113 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.1e-05/0.7829, allocations: 11.44 kB / 1.113 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.7829, allocations: 0 / 1.113 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of Templates: time 0.002423/0.7854, allocations: 472 kB / 1.113 GB, free: 1.652 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)