Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",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.001484/0.001484, 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.001634/0.001634, allocations: 193.3 kB / 16.25 MB, free: 6.637 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.551/2.551, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 64.67 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3354, allocations: 157.4 MB / 1.052 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.8497/1.185, allocations: 280.9 MB / 1.327 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02905/1.214, allocations: 23 MB / 1.349 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006479/1.221, allocations: 112.3 kB / 1.349 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0114/1.232, allocations: 4.839 MB / 1.354 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01353/1.246, allocations: 4.914 MB / 1.359 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007268/1.253, allocations: 2.499 MB / 1.361 GB, free: 9.27 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.2333333333333334}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01355/1.267, allocations: 10.23 MB / 1.371 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00432/1.271, allocations: 2.645 MB / 1.374 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007617/1.279, allocations: 3.338 MB / 1.377 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004818/1.283, allocations: 2.374 MB / 1.379 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001092/1.285, allocations: 285 kB / 1.38 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009512/1.294, allocations: 4.427 MB / 1.384 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001687/1.296, allocations: 1.104 MB / 1.385 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003908/1.3, allocations: 1.809 MB / 1.387 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01412/1.314, allocations: 6.541 MB / 1.393 GB, free: 13.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.314, allocations: 4 kB / 1.393 GB, free: 13.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.923e-06/1.314, allocations: 0 / 1.393 GB, free: 13.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002026/1.314, allocations: 0 / 1.393 GB, free: 13.07 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01228/1.326, allocations: 3.971 MB / 1.397 GB, free: 10.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.326, allocations: 8.562 kB / 1.397 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006966/1.327, allocations: 267.7 kB / 1.397 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00575/1.333, allocations: 0.8506 MB / 1.398 GB, free: 9.676 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00644/1.339, allocations: 3.165 MB / 1.401 GB, free: 7.531 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/1.34, allocations: 150 kB / 1.401 GB, free: 7.469 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000605/1.34, allocations: 195.2 kB / 1.402 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005324/1.346, allocations: 2.254 MB / 1.404 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/1.346, allocations: 0 / 1.404 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002944/1.346, allocations: 79.94 kB / 1.404 GB, free: 5.805 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.943e-05/1.346, allocations: 79.55 kB / 1.404 GB, free: 5.727 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004084/1.35, allocations: 1.966 MB / 1.406 GB, free: 3.758 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/1.367, allocations: 9.603 MB / 1.415 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/1.369, allocations: 1.079 MB / 1.416 GB, free: 8.562 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/1.37, allocations: 0.5935 MB / 1.417 GB, free: 7.973 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000924/1.371, allocations: 0.7045 MB / 1.418 GB, free: 7.121 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/1.371, allocations: 51.5 kB / 1.418 GB, free: 7.062 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001739/1.373, allocations: 163.6 kB / 1.418 GB, free: 6.906 MB / 1.029 GB Notification: Performance of pre-optimization done (n=101): time 8.085e-06/1.373, allocations: 0 / 1.418 GB, free: 6.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=103): time 0.01474/1.388, allocations: 4.172 MB / 1.422 GB, free: 2.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.388, allocations: 68.39 kB / 1.422 GB, free: 2.578 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005762/1.394, allocations: 2.638 MB / 1.425 GB, free: 15.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002991/1.394, allocations: 49.7 kB / 1.425 GB, free: 15.88 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.396, allocations: 1.296 MB / 1.426 GB, free: 14.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008246/1.397, allocations: 370.8 kB / 1.426 GB, free: 14.21 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001234/1.398, allocations: 405 kB / 1.427 GB, free: 13.81 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.398, allocations: 301.1 kB / 1.427 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/1.399, allocations: 0.6919 MB / 1.428 GB, free: 12.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/1.402, allocations: 1.258 MB / 1.429 GB, free: 11.33 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/1.414, allocations: 3.837 MB / 1.432 GB, free: 7.273 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-05/1.414, allocations: 7.938 kB / 1.433 GB, free: 7.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005069/1.419, allocations: 2.341 MB / 1.435 GB, free: 4.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.419, allocations: 16 kB / 1.435 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/1.419, allocations: 19.94 kB / 1.435 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/1.42, allocations: 314.6 kB / 1.435 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.422, allocations: 351.5 kB / 1.435 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/1.423, allocations: 0.9554 MB / 1.436 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/1.426, allocations: 196.9 kB / 1.437 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/1.426, allocations: 79.98 kB / 1.437 GB, free: 2.973 MB / 1.045 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002611/1.429, allocations: 1.282 MB / 1.438 GB, free: 1.688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001881/1.431, allocations: 1.25 MB / 1.439 GB, free: 204 kB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01193/1.443, allocations: 3.844 MB / 1.443 GB, free: 12.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.676e-05/1.443, allocations: 4 kB / 1.443 GB, free: 12.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=250) (initialization_lambda0): time 0.004782/1.448, allocations: 2.366 MB / 1.445 GB, free: 9.758 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.448, allocations: 15.98 kB / 1.445 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/1.448, allocations: 16 kB / 1.445 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/1.449, allocations: 311.9 kB / 1.446 GB, free: 9.422 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.45, allocations: 355.5 kB / 1.446 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/1.452, allocations: 0.958 MB / 1.447 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/1.454, allocations: 189.9 kB / 1.447 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/1.454, allocations: 87.97 kB / 1.447 GB, free: 7.82 MB / 1.061 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (194): * Single equations (assignments): 190 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005501/1.455, allocations: 280.4 kB / 1.447 GB, free: 7.539 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007534/1.456, allocations: 272.6 kB / 1.448 GB, free: 7.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/1.459, allocations: 1.496 MB / 1.449 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/1.459, allocations: 12 kB / 1.449 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.459, allocations: 0 / 1.449 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001775/1.461, allocations: 1.062 MB / 1.45 GB, free: 4.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008276/1.469, allocations: 4.079 MB / 1.454 GB, free: 432 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.469, allocations: 8.625 kB / 1.454 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/1.47, allocations: 179.7 kB / 1.454 GB, free: 244 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/1.471, allocations: 286.3 kB / 1.455 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.091e-05/1.472, allocations: 35.98 kB / 1.455 GB, free: 15.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009406/1.472, allocations: 0.9036 MB / 1.455 GB, free: 14.99 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.472, allocations: 11.94 kB / 1.455 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/1.476, allocations: 2.168 MB / 1.458 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.478, allocations: 485.3 kB / 1.458 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000775/1.478, allocations: 31.98 kB / 1.458 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/1.481, allocations: 118.7 kB / 1.458 GB, free: 12.06 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.481, allocations: 76.45 kB / 1.458 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/1.481, allocations: 47.97 kB / 1.458 GB, free: 11.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003443/1.484, allocations: 1.764 MB / 1.46 GB, free: 10.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.51e-07/1.484, allocations: 0 / 1.46 GB, free: 10.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005264/1.49, allocations: 1.258 MB / 1.461 GB, free: 8.918 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U) * 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 (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005628/1.495, allocations: 3.247 MB / 1.464 GB, free: 5.586 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005727/1.501, allocations: 2.769 MB / 1.467 GB, free: 2.836 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.501, allocations: 0 / 1.467 GB, free: 2.836 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/1.502, allocations: 0.559 MB / 1.468 GB, free: 2.273 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007799/1.51, allocations: 1.564 MB / 1.469 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04992/1.56, allocations: 22.6 MB / 1.491 GB, free: 8.184 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/1.562, allocations: 1.86 MB / 1.493 GB, free: 6.289 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00324/1.565, allocations: 0.6738 MB / 1.494 GB, free: 5.613 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001713/1.567, allocations: 1.145 MB / 1.495 GB, free: 4.473 MB / 1.107 GB Notification: Performance of SimCode: time 8.42e-07/1.567, allocations: 0 / 1.495 GB, free: 4.473 MB / 1.107 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.14, 0.06260990336999411, 0.014).