Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001335/0.001335, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00125/0.001251, allocations: 195.4 kB / 16.14 MB, free: 6.703 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 65.55 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3134, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002675/0.3161, allocations: 1.313 MB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.3182, allocations: 1.255 MB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.3183, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.3183, allocations: 0 / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.319, allocations: 159.6 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.3191, allocations: 35.2 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.3192, allocations: 15.94 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.3192, allocations: 4 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.052e-05/0.3193, allocations: 11.92 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4312/0.7505, allocations: 28.17 MB / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.7506, allocations: 0 / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.7506, allocations: 0 / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.7506, allocations: 0 / 1.098 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.7506, allocations: 11.98 kB / 1.098 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.056e-05/0.7507, allocations: 11.92 kB / 1.098 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7507, allocations: 0 / 1.098 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7507, allocations: 0 / 1.098 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7507, allocations: 4 kB / 1.098 GB, free: 14.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.0003091/0.751, allocations: 319.6 kB / 1.098 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.7511, allocations: 12.02 kB / 1.098 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.7512, allocations: 80.22 kB / 1.098 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.7513, allocations: 243.5 kB / 1.098 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.7514, allocations: 150.9 kB / 1.099 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.7514, allocations: 154.9 kB / 1.099 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.034e-05/0.7515, allocations: 109 kB / 1.099 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.7515, allocations: 75.28 kB / 1.099 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/0.7516, allocations: 154.6 kB / 1.099 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/0.7516, allocations: 150.6 kB / 1.099 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.7517, allocations: 154.6 kB / 1.099 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.752, allocations: 445.9 kB / 1.1 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.7521, allocations: 181.1 kB / 1.1 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.7521, allocations: 80.14 kB / 1.1 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.7522, allocations: 75.28 kB / 1.1 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.7522, allocations: 113.8 kB / 1.1 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.7522, allocations: 0 / 1.1 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.034e-05/0.7523, allocations: 29.7 kB / 1.1 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.7524, allocations: 211.7 kB / 1.1 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.7526, allocations: 97.86 kB / 1.1 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.7526, allocations: 25.7 kB / 1.1 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.7526, allocations: 80.14 kB / 1.101 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.7526, allocations: 8 kB / 1.101 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.7527, allocations: 17.7 kB / 1.101 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7528, allocations: 314.8 kB / 1.101 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-06/0.7528, allocations: 0 / 1.101 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.7529, allocations: 18.58 kB / 1.101 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.644e-05/0.7529, allocations: 75.28 kB / 1.101 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.758e-05/0.7529, allocations: 75.28 kB / 1.101 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.467e-05/0.753, allocations: 45.52 kB / 1.101 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/0.753, allocations: 83.19 kB / 1.101 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/0.7531, allocations: 83.2 kB / 1.101 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.322e-05/0.7532, allocations: 154.6 kB / 1.101 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.723e-05/0.7532, allocations: 83.22 kB / 1.101 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.729e-05/0.7533, allocations: 150.6 kB / 1.102 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.7534, allocations: 83.28 kB / 1.102 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.7535, allocations: 79.22 kB / 1.102 GB, free: 10.42 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.0001438/0.7536, allocations: 260.4 kB / 1.102 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.7537, allocations: 112.9 kB / 1.102 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.173e-05/0.7538, allocations: 111.8 kB / 1.102 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.91e-05/0.7538, allocations: 180.3 kB / 1.102 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.529e-05/0.7539, allocations: 184.4 kB / 1.103 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.31e-05/0.754, allocations: 180.2 kB / 1.103 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.7542, allocations: 405.3 kB / 1.103 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.87e-05/0.7543, allocations: 112.9 kB / 1.103 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.7543, allocations: 108.9 kB / 1.103 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.865e-05/0.7544, allocations: 184.2 kB / 1.104 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/0.7545, allocations: 180.3 kB / 1.104 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.867e-05/0.7546, allocations: 180.6 kB / 1.104 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.647e-05/0.7546, allocations: 184.2 kB / 1.104 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.7548, allocations: 307.8 kB / 1.104 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.7549, allocations: 190 kB / 1.105 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.755, allocations: 180.2 kB / 1.105 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.7551, allocations: 108.9 kB / 1.105 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.7552, allocations: 176.3 kB / 1.105 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.7552, allocations: 104.9 kB / 1.105 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.7553, allocations: 91.27 kB / 1.105 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7553, allocations: 0 / 1.105 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002898/0.7556, allocations: 4 kB / 1.105 GB, free: 6.723 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.0001477/0.7558, allocations: 174.5 kB / 1.105 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 4.928e-05/0.7558, allocations: 0 / 1.105 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7558, allocations: 0 / 1.105 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.7558, allocations: 0 / 1.105 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.7563, allocations: 0.5263 MB / 1.106 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.7565, allocations: 178.4 kB / 1.106 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.7568, allocations: 0.6693 MB / 1.107 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.7569, allocations: 8 kB / 1.107 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.206e-05/0.7569, allocations: 7.438 kB / 1.107 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.7569, allocations: 0 / 1.107 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of Templates: time 0.002279/0.7592, allocations: 476.1 kB / 1.107 GB, free: 4.629 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)