Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 111.9 kB / 15.61 MB, free: 128 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.00171/0.00171, allocations: 198.1 kB / 16.54 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.502/2.502, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 65.47 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2546, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00227/0.2569, allocations: 1.234 MB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.2586, allocations: 1.248 MB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.2586, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.2586, allocations: 3.938 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005578/0.2592, allocations: 211.3 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.113e-05/0.2593, allocations: 29.08 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.863e-05/0.2594, allocations: 23.92 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.2594, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.2594, allocations: 11.92 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.2596, allocations: 15.98 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.2597, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.26, allocations: 243.6 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.26, allocations: 4 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.26, allocations: 7.984 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.2603, allocations: 195.7 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2603, allocations: 3.984 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2604, allocations: 0 / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.2604, allocations: 0 / 1.067 GB, free: 10.96 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004209/0.2608, allocations: 387.8 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2608, allocations: 12.03 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.2609, allocations: 114 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.261, allocations: 76.22 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.2611, allocations: 251.5 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.2612, allocations: 154.9 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.2612, allocations: 150.9 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.062e-05/0.2613, allocations: 104.9 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.2613, allocations: 79.28 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/0.2614, allocations: 150.6 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/0.2615, allocations: 150.6 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.656e-05/0.2615, allocations: 158.5 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.2618, allocations: 449.9 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.2619, allocations: 169.1 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.2619, allocations: 84.14 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.262, allocations: 79.22 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.262, allocations: 109.8 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.605e-06/0.262, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 6.849e-05/0.2621, allocations: 37.62 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.2622, allocations: 203.8 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.2623, allocations: 93.86 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.2623, allocations: 25.7 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.2624, allocations: 84.14 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-06/0.2624, allocations: 0 / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.2624, allocations: 17.7 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2625, allocations: 314.8 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.346e-06/0.2626, allocations: 4 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.2626, allocations: 26.66 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.2626, allocations: 79.28 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.903e-05/0.2627, allocations: 75.28 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.861e-05/0.2627, allocations: 37.56 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.2628, allocations: 83.28 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/0.2628, allocations: 79.28 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.758e-05/0.2629, allocations: 154.5 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.736e-05/0.2629, allocations: 75.28 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.857e-05/0.263, allocations: 158.5 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.2631, allocations: 83.2 kB / 1.071 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.2632, allocations: 83.28 kB / 1.071 GB, free: 6.379 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 (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.0001215/0.2633, allocations: 260.4 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.2634, allocations: 113.1 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.2634, allocations: 104.1 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.745e-05/0.2635, allocations: 188.2 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.062e-05/0.2636, allocations: 184.3 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.786e-05/0.2636, allocations: 180.3 kB / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.2639, allocations: 401.2 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-05/0.2639, allocations: 116.9 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.264, allocations: 104.9 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.674e-05/0.264, allocations: 176.3 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/0.2641, allocations: 184.3 kB / 1.073 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.36e-05/0.2642, allocations: 192.1 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.687e-05/0.2643, allocations: 176.3 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.2644, allocations: 303.8 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.2645, allocations: 186 kB / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.2646, allocations: 188.2 kB / 1.074 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2647, allocations: 105 kB / 1.074 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.2648, allocations: 184.2 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.2648, allocations: 105 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.2649, allocations: 79.28 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2649, allocations: 0 / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003712/0.2653, allocations: 79.98 kB / 1.075 GB, free: 2.625 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 (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.00101/0.2663, allocations: 1.041 MB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.773e-05/0.2663, allocations: 4 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2663, allocations: 0 / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.2663, allocations: 0 / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.2667, allocations: 461.1 kB / 1.076 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.2671, allocations: 238.5 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.2674, allocations: 0.6766 MB / 1.077 GB, free: 180 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.2674, allocations: 7.984 kB / 1.077 GB, free: 172 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.2675, allocations: 15.42 kB / 1.077 GB, free: 156 kB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2675, allocations: 0 / 1.077 GB, free: 156 kB / 0.8262 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak space cooling load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak space heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.DHC.Loads.BaseClasses.getPeakLoad("#Peak water heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Resources/Data/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).