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.001315/0.001315, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00145/0.00145, allocations: 190.4 kB / 16.25 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.274/2.274, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6815, allocations: 140.4 MB / 0.9492 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001953/0.6835, allocations: 1.279 MB / 0.9505 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.685, allocations: 1.235 MB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.685, allocations: 1.781 kB / 0.9517 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.6851, allocations: 7.984 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.6857, allocations: 183.5 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.831e-05/0.6858, allocations: 35.91 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.626e-05/0.6858, allocations: 12.31 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.6858, allocations: 1.25 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.553e-05/0.6859, allocations: 18.28 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.6861, allocations: 17.67 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.6861, allocations: 0 / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.6864, allocations: 250.9 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.6864, allocations: 1.688 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.6864, allocations: 10.67 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.6867, allocations: 201.7 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6867, allocations: 3.938 kB / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6867, allocations: 0 / 0.9524 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.6867, allocations: 1.531 kB / 0.9524 GB, free: 6.797 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.0003265/0.687, allocations: 388.9 kB / 0.9528 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6871, allocations: 8.438 kB / 0.9528 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.6871, allocations: 111.5 kB / 0.9529 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.6872, allocations: 77.5 kB / 0.953 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.6873, allocations: 245 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.6873, allocations: 156.4 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.6873, allocations: 150.9 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.731e-05/0.6874, allocations: 110.5 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6874, allocations: 79.28 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.6874, allocations: 154.5 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.6874, allocations: 151.9 kB / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.6875, allocations: 150.6 kB / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.6876, allocations: 448.3 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.6877, allocations: 170.3 kB / 0.9547 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.6877, allocations: 80.14 kB / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.6877, allocations: 84.41 kB / 0.9549 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.6877, allocations: 107 kB / 0.955 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.6877, allocations: 0 / 0.955 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.174e-05/0.6878, allocations: 30.95 kB / 0.955 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.6878, allocations: 213 kB / 0.9552 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.6879, allocations: 94.58 kB / 0.9553 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.6879, allocations: 25.7 kB / 0.9553 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.688, allocations: 85.61 kB / 0.9554 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.688, allocations: 0 / 0.9554 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.688, allocations: 17.8 kB / 0.9554 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.688, allocations: 314.8 kB / 0.9557 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-06/0.6881, allocations: 5.125 kB / 0.9557 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.6881, allocations: 21.02 kB / 0.9557 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.334e-05/0.6881, allocations: 76.75 kB / 0.9558 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/0.6881, allocations: 79.28 kB / 0.9559 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.684e-05/0.6882, allocations: 37.62 kB / 0.9559 GB, free: 3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6882, allocations: 80 kB / 0.956 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.6882, allocations: 76.56 kB / 0.9561 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.6882, allocations: 158.5 kB / 0.9562 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-06/0.6883, allocations: 76.47 kB / 0.9563 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.6883, allocations: 163.8 kB / 0.9564 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.6884, allocations: 77.84 kB / 0.9565 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.6884, allocations: 80.36 kB / 0.9566 GB, free: 2.309 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.968e-05/0.6885, allocations: 270.8 kB / 0.9569 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.6885, allocations: 106.5 kB / 0.957 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.6886, allocations: 109.3 kB / 0.9571 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.6886, allocations: 181.4 kB / 0.9572 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.272e-05/0.6886, allocations: 185.6 kB / 0.9574 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.6886, allocations: 185.6 kB / 0.9576 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.6888, allocations: 398.6 kB / 0.958 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.6888, allocations: 106.1 kB / 0.9581 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.6888, allocations: 110.3 kB / 0.9582 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/0.6888, allocations: 177.7 kB / 0.9583 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.6889, allocations: 181.5 kB / 0.9585 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.228e-05/0.6889, allocations: 180.3 kB / 0.9587 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.844e-05/0.689, allocations: 181.6 kB / 0.9589 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.6891, allocations: 316.7 kB / 0.9592 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.6892, allocations: 187.2 kB / 0.9593 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.6892, allocations: 189.6 kB / 0.9595 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.6894, allocations: 108 kB / 0.9596 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.6894, allocations: 185.6 kB / 0.9598 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.6895, allocations: 101 kB / 0.9599 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.684e-05/0.6895, allocations: 82.27 kB / 0.96 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6895, allocations: 0 / 0.96 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003711/0.6899, allocations: 79.7 kB / 0.9601 GB, free: 14.62 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.0009644/0.6909, allocations: 1.038 MB / 0.9611 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.376e-05/0.6909, allocations: 6.094 kB / 0.9611 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.6909, allocations: 0 / 0.9611 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6909, allocations: 1.125 kB / 0.9611 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.6913, allocations: 461.4 kB / 0.9615 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004607/0.6918, allocations: 242.1 kB / 0.9617 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.692, allocations: 0.6743 MB / 0.9624 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.692, allocations: 4.188 kB / 0.9624 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.6921, allocations: 15.45 kB / 0.9624 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6921, allocations: 0 / 0.9624 GB, free: 12.3 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")).