Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_10_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.001454/0.001454, 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.001523/0.001523, allocations: 192.8 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 67.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7303, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.9593/1.69, allocations: 280.9 MB / 1.291 GB, free: 25.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0314/1.721, allocations: 23 MB / 1.314 GB, free: 25.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005665/1.727, allocations: 104.3 kB / 1.314 GB, free: 25.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/1.737, allocations: 4.847 MB / 1.319 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01345/1.751, allocations: 4.92 MB / 1.323 GB, free: 25.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006622/1.757, allocations: 2.502 MB / 1.326 GB, free: 25.1 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.01343/1.771, allocations: 10.22 MB / 1.336 GB, free: 25.06 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004624/1.775, allocations: 2.649 MB / 1.338 GB, free: 24.69 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009534/1.785, allocations: 3.336 MB / 1.342 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006434/1.791, allocations: 2.373 MB / 1.344 GB, free: 24.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/1.793, allocations: 284.8 kB / 1.344 GB, free: 24.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009821/1.802, allocations: 4.432 MB / 1.348 GB, free: 23.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001663/1.804, allocations: 1.111 MB / 1.35 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002892/1.807, allocations: 1.806 MB / 1.351 GB, free: 22.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0115/1.818, allocations: 6.535 MB / 1.358 GB, free: 20.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.819, allocations: 3 kB / 1.358 GB, free: 20.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/1.819, allocations: 4 kB / 1.358 GB, free: 20.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001152/1.819, allocations: 2.969 kB / 1.358 GB, free: 20.34 MB / 0.9981 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.009513/1.828, allocations: 3.967 MB / 1.362 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.828, allocations: 13.89 kB / 1.362 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002958/1.829, allocations: 269.4 kB / 1.362 GB, free: 17.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00512/1.834, allocations: 0.8431 MB / 1.363 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/1.839, allocations: 3.172 MB / 1.366 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/1.839, allocations: 142.9 kB / 1.366 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/1.839, allocations: 194.3 kB / 1.366 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003536/1.843, allocations: 2.251 MB / 1.368 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/1.843, allocations: 7.281 kB / 1.368 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/1.843, allocations: 76.16 kB / 1.368 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.185e-05/1.843, allocations: 81.98 kB / 1.368 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/1.846, allocations: 1.949 MB / 1.37 GB, free: 12.75 MB / 0.9981 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.01147/1.858, allocations: 9.618 MB / 1.38 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/1.86, allocations: 1.081 MB / 1.381 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00082/1.86, allocations: 0.5948 MB / 1.381 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006441/1.861, allocations: 0.7031 MB / 1.382 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.861, allocations: 51.25 kB / 1.382 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001425/1.863, allocations: 172.3 kB / 1.382 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=101): time 3.627e-06/1.863, allocations: 0 / 1.382 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103): time 0.01192/1.875, allocations: 4.163 MB / 1.386 GB, free: 15.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.875, allocations: 64.41 kB / 1.386 GB, free: 15.19 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003865/1.879, allocations: 2.65 MB / 1.389 GB, free: 12.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/1.879, allocations: 45.7 kB / 1.389 GB, free: 12.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/1.88, allocations: 1.297 MB / 1.39 GB, free: 11.18 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/1.88, allocations: 376.7 kB / 1.391 GB, free: 10.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005806/1.881, allocations: 399.1 kB / 1.391 GB, free: 10.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/1.881, allocations: 305.1 kB / 1.391 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/1.882, allocations: 0.6924 MB / 1.392 GB, free: 9.418 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.884, allocations: 1.252 MB / 1.393 GB, free: 7.945 MB / 1.014 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.01135/1.895, allocations: 3.843 MB / 1.397 GB, free: 3.938 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/1.895, allocations: 4 kB / 1.397 GB, free: 3.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004462/1.9, allocations: 2.346 MB / 1.399 GB, free: 1.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/1.9, allocations: 17.72 kB / 1.399 GB, free: 1.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/1.9, allocations: 16 kB / 1.399 GB, free: 1.629 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/1.901, allocations: 311.9 kB / 1.4 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.903, allocations: 351.8 kB / 1.4 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/1.904, allocations: 0.9633 MB / 1.401 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/1.907, allocations: 196 kB / 1.401 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/1.908, allocations: 79.98 kB / 1.401 GB, free: 15.76 MB / 1.029 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.002646/1.91, allocations: 1.277 MB / 1.402 GB, free: 14.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001629/1.912, allocations: 1.254 MB / 1.404 GB, free: 13 MB / 1.029 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.01099/1.923, allocations: 3.837 MB / 1.407 GB, free: 9.008 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-05/1.923, allocations: 4 kB / 1.407 GB, free: 9.004 MB / 1.029 GB Notification: Performance of matching and sorting (n=250) (initialization_lambda0): time 0.004392/1.927, allocations: 2.363 MB / 1.41 GB, free: 6.719 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.927, allocations: 12 kB / 1.41 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.927, allocations: 16 kB / 1.41 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/1.929, allocations: 318.2 kB / 1.41 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.93, allocations: 356.2 kB / 1.41 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009175/1.931, allocations: 0.9557 MB / 1.411 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.934, allocations: 188 kB / 1.411 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/1.934, allocations: 75.98 kB / 1.412 GB, free: 4.82 MB / 1.029 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.000479/1.934, allocations: 299 kB / 1.412 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005157/1.935, allocations: 272.6 kB / 1.412 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/1.938, allocations: 1.493 MB / 1.414 GB, free: 2.773 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.938, allocations: 8 kB / 1.414 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.938, allocations: 3.938 kB / 1.414 GB, free: 2.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001695/1.939, allocations: 1.058 MB / 1.415 GB, free: 1.684 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007093/1.946, allocations: 4.074 MB / 1.419 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/1.947, allocations: 8.656 kB / 1.419 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008209/1.947, allocations: 185.8 kB / 1.419 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/1.949, allocations: 294.5 kB / 1.419 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/1.949, allocations: 24 kB / 1.419 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008714/1.95, allocations: 0.9053 MB / 1.42 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.95, allocations: 14.94 kB / 1.42 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/1.953, allocations: 2.172 MB / 1.422 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.954, allocations: 481.4 kB / 1.423 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/1.955, allocations: 32 kB / 1.423 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/1.956, allocations: 109.4 kB / 1.423 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/1.957, allocations: 89.31 kB / 1.423 GB, free: 9.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.952e-05/1.957, allocations: 46.14 kB / 1.423 GB, free: 9.035 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002719/1.959, allocations: 1.764 MB / 1.425 GB, free: 7.273 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.81e-07/1.959, allocations: 0 / 1.425 GB, free: 7.273 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004146/1.963, allocations: 1.262 MB / 1.426 GB, free: 6.012 MB / 1.045 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.005048/1.969, allocations: 3.252 MB / 1.429 GB, free: 2.695 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005308/1.974, allocations: 2.76 MB / 1.432 GB, free: 60 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.974, allocations: 4 kB / 1.432 GB, free: 56 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.975, allocations: 0.5529 MB / 1.432 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006291/1.981, allocations: 1.547 MB / 1.434 GB, free: 14.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0428/2.024, allocations: 22.59 MB / 1.456 GB, free: 5.598 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/2.026, allocations: 1.862 MB / 1.458 GB, free: 3.703 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003452/2.03, allocations: 0.6859 MB / 1.458 GB, free: 3.016 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/2.031, allocations: 1.147 MB / 1.459 GB, free: 1.871 MB / 1.076 GB Notification: Performance of SimCode: time 1.102e-06/2.031, allocations: 0 / 1.459 GB, free: 1.871 MB / 1.076 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).