Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_10_Buildings_Experimental_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.001245/0.001245, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001326/0.001326, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.336/2.336, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 72.03 kB / 0.8689 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5363, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002543/0.5388, allocations: 1.305 MB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.5408, allocations: 1.235 MB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.5408, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.5409, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0007083/0.5416, allocations: 179.6 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.5417, allocations: 31.95 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.629e-05/0.5418, allocations: 15.92 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.5418, allocations: 7.984 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.5418, allocations: 11.94 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.542, allocations: 21.2 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.5421, allocations: 0 / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.5424, allocations: 231.6 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.5424, allocations: 11.97 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.5425, allocations: 8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.5428, allocations: 199.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5428, allocations: 3.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5428, allocations: 4 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.5428, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 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.0004654/0.5433, allocations: 391.2 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5434, allocations: 12.03 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/0.5434, allocations: 106 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.5435, allocations: 76.22 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.5436, allocations: 243.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.627e-05/0.5437, allocations: 154.9 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.5437, allocations: 150.9 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.392e-05/0.5438, allocations: 108.9 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.5438, allocations: 79.28 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-05/0.5439, allocations: 150.6 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/0.544, allocations: 154.5 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/0.544, allocations: 158.6 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.5443, allocations: 445.9 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.716e-05/0.5444, allocations: 165.1 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.5444, allocations: 80.14 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.5444, allocations: 87.22 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.5445, allocations: 113.7 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.5445, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.166e-05/0.5446, allocations: 29.69 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.5447, allocations: 211.8 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.5448, allocations: 93.86 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.5448, allocations: 25.7 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.5448, allocations: 84.14 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.5448, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.5449, allocations: 21.7 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.545, allocations: 310.8 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.545, allocations: 4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.545, allocations: 22.52 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.5451, allocations: 75.28 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/0.5451, allocations: 83.28 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.724e-05/0.5452, allocations: 37.62 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.5452, allocations: 83.28 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/0.5453, allocations: 75.28 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.339e-05/0.5453, allocations: 154.5 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-05/0.5453, allocations: 75.28 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.527e-05/0.5454, allocations: 166.5 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.5456, allocations: 79.27 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.5456, allocations: 75.28 kB / 1.024 GB, free: 10.98 MB / 0.7794 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.0001199/0.5457, allocations: 268.9 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.5458, allocations: 113.1 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.5459, allocations: 108.1 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-05/0.5459, allocations: 188.2 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-05/0.546, allocations: 176.3 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-05/0.5461, allocations: 188.2 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.5463, allocations: 401.2 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.5463, allocations: 108.9 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.5464, allocations: 108.9 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.313e-05/0.5464, allocations: 180.3 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.5465, allocations: 180.2 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-05/0.5466, allocations: 188.2 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.949e-05/0.5466, allocations: 176.3 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.5468, allocations: 312.1 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.5469, allocations: 190 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.5469, allocations: 180.3 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.5471, allocations: 101 kB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.5472, allocations: 188.2 kB / 1.027 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.5472, allocations: 113 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.5473, allocations: 75.28 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.6e-07/0.5473, allocations: 7.938 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003804/0.5477, allocations: 75.98 kB / 1.028 GB, free: 7.207 MB / 0.7794 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.001059/0.5487, allocations: 1.039 MB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.224e-05/0.5488, allocations: 4 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5488, allocations: 0 / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.5488, allocations: 4 kB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.5492, allocations: 465.2 kB / 1.029 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.5497, allocations: 242.3 kB / 1.029 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.5499, allocations: 0.669 MB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.722e-05/0.55, allocations: 11.98 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.55, allocations: 19.42 kB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.55, allocations: 0 / 1.03 GB, free: 4.73 MB / 0.7794 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad("#Peak space cooling load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/Data/Experimental/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.Experimental.DHC.Loads.BaseClasses.getPeakLoad("#Peak space heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/Data/Experimental/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.Experimental.DHC.Loads.BaseClasses.getPeakLoad("#Peak water heating load", OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).