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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0009252/0.0009253, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00108/0.00108, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.4 MB / 0.6655 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003449, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7346, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001176/0.7359, allocations: 0.9501 MB / 0.9548 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.7375, allocations: 1.175 MB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.7375, allocations: 1.5 kB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.7376, allocations: 0 / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.7381, allocations: 156.7 kB / 0.9561 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.7382, allocations: 39.11 kB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.7383, allocations: 14.02 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.7383, allocations: 1.344 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.271e-05/0.7384, allocations: 5.375 kB / 0.9561 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.7385, allocations: 17.23 kB / 0.9562 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.7386, allocations: 0 / 0.9562 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.7389, allocations: 223.6 kB / 0.9564 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.7389, allocations: 5.078 kB / 0.9564 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.7389, allocations: 27.73 kB / 0.9564 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.7391, allocations: 137.6 kB / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7391, allocations: 0 / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7391, allocations: 0 / 0.9565 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.7392, allocations: 1.062 kB / 0.9565 GB, free: 6.09 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.0003253/0.7395, allocations: 376.8 kB / 0.9569 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.7395, allocations: 13.22 kB / 0.9569 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.7396, allocations: 111 kB / 0.957 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.7396, allocations: 80.3 kB / 0.9571 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.935e-05/0.7397, allocations: 244.6 kB / 0.9573 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.7398, allocations: 150.6 kB / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.7398, allocations: 154.5 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.876e-05/0.7398, allocations: 106.3 kB / 0.9577 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.7399, allocations: 75.28 kB / 0.9578 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.7399, allocations: 159.6 kB / 0.9579 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.7399, allocations: 150.6 kB / 0.9581 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/0.7399, allocations: 155.5 kB / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.7401, allocations: 460 kB / 0.9587 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/0.7402, allocations: 166.4 kB / 0.9588 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.7402, allocations: 80.14 kB / 0.9589 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.7402, allocations: 76.34 kB / 0.959 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.7403, allocations: 114.9 kB / 0.9591 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.7403, allocations: 0 / 0.9591 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.636e-05/0.7404, allocations: 36.19 kB / 0.9591 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.7404, allocations: 209 kB / 0.9593 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.7405, allocations: 97.31 kB / 0.9594 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.7405, allocations: 26.8 kB / 0.9594 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.161e-05/0.7405, allocations: 81.3 kB / 0.9595 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.7406, allocations: 0 / 0.9595 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.7406, allocations: 0 / 0.9595 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.7406, allocations: 323.9 kB / 0.9598 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-06/0.7406, allocations: 0 / 0.9598 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.7407, allocations: 17.8 kB / 0.9598 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.892e-05/0.7407, allocations: 76.31 kB / 0.9599 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.7407, allocations: 76.41 kB / 0.96 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.017e-05/0.7407, allocations: 32.83 kB / 0.96 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.7408, allocations: 85.5 kB / 0.9601 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.7408, allocations: 80.23 kB / 0.9602 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.7408, allocations: 155.6 kB / 0.9603 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-05/0.7408, allocations: 80.48 kB / 0.9604 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/0.7409, allocations: 155.7 kB / 0.9606 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.741, allocations: 81.25 kB / 0.9606 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.741, allocations: 84.52 kB / 0.9607 GB, free: 1.613 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.205e-05/0.7411, allocations: 262.7 kB / 0.961 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.7412, allocations: 107.1 kB / 0.9611 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.7412, allocations: 113.1 kB / 0.9612 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.7412, allocations: 181.5 kB / 0.9613 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.646e-05/0.7413, allocations: 181 kB / 0.9615 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-05/0.7413, allocations: 181.6 kB / 0.9617 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.7414, allocations: 407.3 kB / 0.9621 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.7415, allocations: 106.1 kB / 0.9622 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.7415, allocations: 106.1 kB / 0.9623 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.56e-05/0.7416, allocations: 177.4 kB / 0.9624 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.7417, allocations: 181.4 kB / 0.9626 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.36e-05/0.7418, allocations: 180.2 kB / 0.9628 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-05/0.7419, allocations: 181.3 kB / 0.963 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.742, allocations: 312.3 kB / 0.9633 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.7422, allocations: 196.5 kB / 0.9635 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/0.7423, allocations: 181.4 kB / 0.9636 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.7424, allocations: 108 kB / 0.9637 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/0.7425, allocations: 185.2 kB / 0.9639 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.7426, allocations: 105.9 kB / 0.964 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.7426, allocations: 81.64 kB / 0.9641 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7426, allocations: 5.031 kB / 0.9641 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004212/0.743, allocations: 76.36 kB / 0.9642 GB, free: 13.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00111/0.7442, allocations: 1.042 MB / 0.9652 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 4.659e-05/0.7442, allocations: 4.938 kB / 0.9652 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7442, allocations: 1.031 kB / 0.9652 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.7442, allocations: 0 / 0.9652 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.7447, allocations: 0.5257 MB / 0.9657 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.7452, allocations: 232.9 kB / 0.9659 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.7455, allocations: 0.6784 MB / 0.9666 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.123e-05/0.7455, allocations: 3.156 kB / 0.9666 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.7456, allocations: 12 kB / 0.9666 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7456, allocations: 4 kB / 0.9666 GB, free: 11.53 MB / 0.7325 GB [CodegenUtil.tpl:198:14-198: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.1-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:198:14-198: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.1-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")). [CodegenUtil.tpl:198:14-198: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.1-maint.9.1.x/Resources/Data/Experimental/DHC/Loads/BaseClasses/Validation/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos")).