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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001109/0.001109, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009381/0.009381, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.617/2.617, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 11.66 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3004, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.9195/1.22, allocations: 278 MB / 1.33 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03008/1.25, allocations: 23.12 MB / 1.353 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00436/1.255, allocations: 99.31 kB / 1.353 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008867/1.263, allocations: 4.65 MB / 1.358 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01377/1.277, allocations: 4.899 MB / 1.362 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0066/1.284, allocations: 2.467 MB / 1.365 GB, free: 0.875 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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.01582/1.3, allocations: 12.65 MB / 1.377 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003885/1.304, allocations: 2.214 MB / 1.379 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006722/1.31, allocations: 2.825 MB / 1.382 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004638/1.315, allocations: 2.19 MB / 1.384 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004409/1.315, allocations: 110.1 kB / 1.384 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009399/1.325, allocations: 4.624 MB / 1.389 GB, free: 11.1 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/1.326, allocations: 0.9117 MB / 1.39 GB, free: 10.54 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002731/1.329, allocations: 1.612 MB / 1.391 GB, free: 9.527 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/1.341, allocations: 6.304 MB / 1.397 GB, free: 5.703 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.341, allocations: 0 / 1.397 GB, free: 5.703 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.395e-06/1.341, allocations: 0 / 1.397 GB, free: 5.703 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001175/1.341, allocations: 0 / 1.397 GB, free: 5.703 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.009688/1.351, allocations: 3.34 MB / 1.401 GB, free: 3.332 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.351, allocations: 10.06 kB / 1.401 GB, free: 3.332 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006495/1.352, allocations: 263 kB / 1.401 GB, free: 3.129 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/1.357, allocations: 0.8662 MB / 1.402 GB, free: 2.746 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005505/1.362, allocations: 3.162 MB / 1.405 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/1.363, allocations: 156.9 kB / 1.405 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/1.363, allocations: 191.2 kB / 1.405 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/1.367, allocations: 2.258 MB / 1.407 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/1.367, allocations: 0 / 1.407 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/1.367, allocations: 74.5 kB / 1.407 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.22e-05/1.367, allocations: 85.95 kB / 1.408 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003367/1.37, allocations: 1.965 MB / 1.409 GB, free: 14.04 MB / 1.029 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.01298/1.383, allocations: 9.627 MB / 1.419 GB, free: 4.543 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/1.385, allocations: 1.087 MB / 1.42 GB, free: 3.445 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000924/1.386, allocations: 0.5858 MB / 1.42 GB, free: 2.863 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000769/1.387, allocations: 0.7077 MB / 1.421 GB, free: 2.012 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/1.387, allocations: 51.44 kB / 1.421 GB, free: 1.953 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001152/1.388, allocations: 168.2 kB / 1.421 GB, free: 1.793 MB / 1.029 GB Notification: Performance of pre-optimization done (n=101): time 3.066e-06/1.388, allocations: 0 / 1.421 GB, free: 1.793 MB / 1.029 GB Notification: Performance of matching and sorting (n=103): time 0.01169/1.4, allocations: 4.2 MB / 1.425 GB, free: 13.51 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/1.4, allocations: 68.34 kB / 1.426 GB, free: 13.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003417/1.404, allocations: 2.638 MB / 1.428 GB, free: 10.79 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/1.404, allocations: 53.7 kB / 1.428 GB, free: 10.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/1.405, allocations: 1.3 MB / 1.429 GB, free: 9.426 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.405, allocations: 373.5 kB / 1.43 GB, free: 9.062 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/1.405, allocations: 185.6 kB / 1.43 GB, free: 8.875 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/1.405, allocations: 301.1 kB / 1.43 GB, free: 8.578 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/1.406, allocations: 0.6832 MB / 1.431 GB, free: 7.895 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/1.408, allocations: 1.255 MB / 1.432 GB, free: 6.406 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.01129/1.419, allocations: 3.861 MB / 1.436 GB, free: 2.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.419, allocations: 4 kB / 1.436 GB, free: 2.316 MB / 1.045 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004294/1.424, allocations: 2.367 MB / 1.438 GB, free: 15.94 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003743/1.424, allocations: 0.538 MB / 1.439 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.424, allocations: 16 kB / 1.439 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/1.426, allocations: 328.5 kB / 1.439 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.427, allocations: 359.4 kB / 1.439 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/1.428, allocations: 0.9608 MB / 1.44 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/1.43, allocations: 201.4 kB / 1.441 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/1.431, allocations: 83.98 kB / 1.441 GB, free: 13.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/1.431, allocations: 4 kB / 1.441 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003399/1.434, allocations: 2.08 MB / 1.443 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.434, allocations: 16 kB / 1.443 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/1.435, allocations: 321 kB / 1.443 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.437, allocations: 359.4 kB / 1.443 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000962/1.438, allocations: 0.9581 MB / 1.444 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/1.44, allocations: 189.4 kB / 1.444 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/1.44, allocations: 87.92 kB / 1.445 GB, free: 9.215 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 sytem: 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.001407/1.442, allocations: 0.766 MB / 1.445 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/1.442, allocations: 276.5 kB / 1.446 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/1.445, allocations: 1.477 MB / 1.447 GB, free: 6.672 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/1.445, allocations: 15.92 kB / 1.447 GB, free: 6.656 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.445, allocations: 4 kB / 1.447 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0017/1.447, allocations: 1.058 MB / 1.448 GB, free: 5.582 MB / 1.061 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 postOpt removeSimpleEquations (simulation): time 0.007322/1.454, allocations: 4.271 MB / 1.452 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.454, allocations: 8 kB / 1.452 GB, free: 1.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/1.455, allocations: 175.7 kB / 1.452 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/1.456, allocations: 297.4 kB / 1.453 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/1.456, allocations: 31.98 kB / 1.453 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009184/1.457, allocations: 0.9166 MB / 1.454 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/1.457, allocations: 15.88 kB / 1.454 GB, free: 15.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/1.461, allocations: 2.17 MB / 1.456 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/1.462, allocations: 0.4897 MB / 1.456 GB, free: 12.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/1.462, allocations: 31.98 kB / 1.456 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.464, allocations: 128.2 kB / 1.456 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/1.464, allocations: 84.38 kB / 1.456 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/1.464, allocations: 47.98 kB / 1.457 GB, free: 12.58 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002675/1.467, allocations: 1.764 MB / 1.458 GB, free: 10.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.467, allocations: 3.938 kB / 1.458 GB, free: 10.81 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004042/1.471, allocations: 1.265 MB / 1.459 GB, free: 9.551 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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.004946/1.476, allocations: 3.223 MB / 1.463 GB, free: 6.242 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004947/1.481, allocations: 2.625 MB / 1.465 GB, free: 3.625 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/1.481, allocations: 8.375 kB / 1.465 GB, free: 3.617 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.482, allocations: 0.5663 MB / 1.466 GB, free: 3.055 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01097/1.493, allocations: 1.472 MB / 1.467 GB, free: 1.602 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04521/1.538, allocations: 22.69 MB / 1.489 GB, free: 8.918 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/1.54, allocations: 1.852 MB / 1.491 GB, free: 7.039 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00334/1.543, allocations: 0.6832 MB / 1.492 GB, free: 6.355 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/1.545, allocations: 1.151 MB / 1.493 GB, free: 5.203 MB / 1.107 GB Notification: Performance of SimCode: time 7.92e-07/1.545, allocations: 0 / 1.493 GB, free: 5.203 MB / 1.107 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.14, 0.06260990336999411, 0.014).