Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_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.001237/0.001237, 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.001235/0.001235, allocations: 195 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.264/1.264, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5381/0.5395, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001752/0.5413, allocations: 1.214 MB / 0.9509 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.5426, allocations: 1.246 MB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.546e-05/0.5426, allocations: 0 / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.5427, allocations: 5.719 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.5432, allocations: 219.3 kB / 0.9523 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.434e-05/0.5433, allocations: 40.05 kB / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.792e-05/0.5433, allocations: 7.375 kB / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.5433, allocations: 0.9688 kB / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.5434, allocations: 18.03 kB / 0.9524 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.5435, allocations: 19.73 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.5435, allocations: 7.938 kB / 0.9524 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.5438, allocations: 230 kB / 0.9527 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.5439, allocations: 2.562 kB / 0.9527 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.5439, allocations: 3.125 kB / 0.9527 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.5441, allocations: 216.1 kB / 0.9529 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5442, allocations: 1.406 kB / 0.9529 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5442, allocations: 0 / 0.9529 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.5442, allocations: 0 / 0.9529 GB, free: 6.762 MB / 0.7169 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.0002832/0.5445, allocations: 384.9 kB / 0.9532 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.5445, allocations: 13.78 kB / 0.9533 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.5445, allocations: 111.6 kB / 0.9534 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.5446, allocations: 76.22 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.332e-05/0.5447, allocations: 250.4 kB / 0.9537 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.5447, allocations: 150.9 kB / 0.9538 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.5447, allocations: 150.9 kB / 0.954 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.372e-05/0.5447, allocations: 114.2 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5448, allocations: 75.28 kB / 0.9541 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.5448, allocations: 152.2 kB / 0.9543 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.5448, allocations: 154.6 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.768e-05/0.5448, allocations: 150.6 kB / 0.9546 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.545, allocations: 448.5 kB / 0.955 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.545, allocations: 174.4 kB / 0.9552 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.545, allocations: 80.14 kB / 0.9552 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.545, allocations: 80.5 kB / 0.9553 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.5451, allocations: 107.3 kB / 0.9554 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.5451, allocations: 4 kB / 0.9554 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.674e-05/0.5451, allocations: 27.36 kB / 0.9555 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.5452, allocations: 209 kB / 0.9557 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.5452, allocations: 101.4 kB / 0.9557 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.5453, allocations: 26.95 kB / 0.9558 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/0.5453, allocations: 81.33 kB / 0.9559 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.5453, allocations: 0 / 0.9559 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.5453, allocations: 21.38 kB / 0.9559 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.5454, allocations: 318.8 kB / 0.9562 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-06/0.5454, allocations: 1.219 kB / 0.9562 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.5454, allocations: 20.77 kB / 0.9562 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.198e-05/0.5454, allocations: 76.75 kB / 0.9563 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.5454, allocations: 75.28 kB / 0.9563 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.691e-05/0.5455, allocations: 33.73 kB / 0.9564 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5455, allocations: 80.28 kB / 0.9565 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5455, allocations: 83.22 kB / 0.9565 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.5455, allocations: 160 kB / 0.9567 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-06/0.5456, allocations: 80.56 kB / 0.9568 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.5456, allocations: 154.7 kB / 0.9569 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.5457, allocations: 82.8 kB / 0.957 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.5457, allocations: 84.48 kB / 0.9571 GB, free: 2.266 MB / 0.7169 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 5.405e-05/0.5458, allocations: 270.9 kB / 0.9573 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.5458, allocations: 106.1 kB / 0.9574 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.5458, allocations: 113.1 kB / 0.9575 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.5459, allocations: 177.5 kB / 0.9577 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/0.5459, allocations: 177.5 kB / 0.9579 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.5459, allocations: 189.3 kB / 0.9581 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.546, allocations: 399.7 kB / 0.9584 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.546, allocations: 114.4 kB / 0.9585 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.5461, allocations: 105 kB / 0.9586 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.967e-05/0.5461, allocations: 181.6 kB / 0.9588 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.5461, allocations: 185.5 kB / 0.959 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.575e-05/0.5461, allocations: 176.3 kB / 0.9592 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.928e-05/0.5462, allocations: 181.6 kB / 0.9593 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.5464, allocations: 312.9 kB / 0.9596 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.5464, allocations: 182 kB / 0.9598 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.5465, allocations: 186.8 kB / 0.96 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.5466, allocations: 111.3 kB / 0.9601 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.5467, allocations: 177.6 kB / 0.9603 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.5467, allocations: 106.1 kB / 0.9604 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.998e-05/0.5468, allocations: 89.72 kB / 0.9604 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5468, allocations: 0 / 0.9604 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003483/0.5471, allocations: 84.05 kB / 0.9605 GB, free: 14.57 MB / 0.7325 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.0008832/0.548, allocations: 1.031 MB / 0.9615 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.584e-05/0.5481, allocations: 2.656 kB / 0.9615 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5481, allocations: 0 / 0.9615 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.5481, allocations: 5.031 kB / 0.9615 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.5484, allocations: 462.9 kB / 0.962 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.5489, allocations: 233.5 kB / 0.9622 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.5491, allocations: 0.6776 MB / 0.9629 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.5491, allocations: 3.938 kB / 0.9629 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.5491, allocations: 11.84 kB / 0.9629 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of SimCode: time 1.583e-06/0.5492, allocations: 0 / 0.9629 GB, free: 12.27 MB / 0.7325 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 9.1.3-maint.9.1.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 9.1.3-maint.9.1.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 9.1.3-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).