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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001309/0.001314, allocations: 97.56 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.01092/0.01092, allocations: 169.2 kB / 16.26 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003379, allocations: 11.98 kB / 0.873 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.734/0.7344, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 1.005/1.739, allocations: 278 MB / 1.295 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03091/1.77, allocations: 23.13 MB / 1.317 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005864/1.776, allocations: 101.1 kB / 1.317 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00992/1.786, allocations: 4.654 MB / 1.322 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01365/1.8, allocations: 4.908 MB / 1.327 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006474/1.806, allocations: 2.455 MB / 1.329 GB, free: 1.027 MB / 0.9825 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.01573/1.822, allocations: 12.65 MB / 1.341 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00402/1.826, allocations: 2.223 MB / 1.344 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007851/1.834, allocations: 2.825 MB / 1.346 GB, free: 16.58 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005331/1.839, allocations: 2.186 MB / 1.348 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007253/1.84, allocations: 110.7 kB / 1.349 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009776/1.85, allocations: 4.625 MB / 1.353 GB, free: 16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001879/1.852, allocations: 0.9193 MB / 1.354 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003493/1.855, allocations: 1.602 MB / 1.356 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/1.867, allocations: 6.309 MB / 1.362 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.867, allocations: 0 / 1.362 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.225e-06/1.867, allocations: 0 / 1.362 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001185/1.867, allocations: 0 / 1.362 GB, free: 10.88 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.009657/1.877, allocations: 3.331 MB / 1.365 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.877, allocations: 13.39 kB / 1.365 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007259/1.877, allocations: 264.1 kB / 1.365 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005468/1.883, allocations: 0.8681 MB / 1.366 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005862/1.889, allocations: 3.171 MB / 1.369 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/1.889, allocations: 148.2 kB / 1.369 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/1.889, allocations: 189.3 kB / 1.37 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004153/1.894, allocations: 2.262 MB / 1.372 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/1.894, allocations: 3.938 kB / 1.372 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/1.894, allocations: 77.56 kB / 1.372 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/1.894, allocations: 80.38 kB / 1.372 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/1.898, allocations: 1.963 MB / 1.374 GB, free: 3.289 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.01455/1.912, allocations: 9.633 MB / 1.383 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/1.914, allocations: 1.085 MB / 1.384 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009983/1.915, allocations: 0.5944 MB / 1.385 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008416/1.916, allocations: 0.7113 MB / 1.386 GB, free: 9.469 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.916, allocations: 43.56 kB / 1.386 GB, free: 9.418 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001512/1.918, allocations: 160.7 kB / 1.386 GB, free: 9.262 MB / 1.014 GB Notification: Performance of pre-optimization done (n=101): time 6.622e-06/1.918, allocations: 0 / 1.386 GB, free: 9.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=103): time 0.01454/1.932, allocations: 4.212 MB / 1.39 GB, free: 4.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/1.932, allocations: 64.41 kB / 1.39 GB, free: 4.902 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005932/1.938, allocations: 2.642 MB / 1.392 GB, free: 2.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002828/1.938, allocations: 53.7 kB / 1.393 GB, free: 2.191 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.94, allocations: 1.296 MB / 1.394 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004845/1.94, allocations: 372.8 kB / 1.394 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/1.941, allocations: 189.6 kB / 1.394 GB, free: 348 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.941, allocations: 301.1 kB / 1.395 GB, free: 44 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/1.942, allocations: 0.6793 MB / 1.395 GB, free: 15.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/1.944, allocations: 1.26 MB / 1.397 GB, free: 13.88 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): time 0.01199/1.956, allocations: 3.867 MB / 1.4 GB, free: 9.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/1.956, allocations: 4 kB / 1.4 GB, free: 9.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004704/1.961, allocations: 2.352 MB / 1.403 GB, free: 7.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004089/1.961, allocations: 0.5389 MB / 1.403 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/1.961, allocations: 16 kB / 1.403 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/1.963, allocations: 324.6 kB / 1.403 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/1.964, allocations: 356.4 kB / 1.404 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/1.965, allocations: 0.9575 MB / 1.405 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/1.968, allocations: 199.5 kB / 1.405 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/1.969, allocations: 90 kB / 1.405 GB, free: 4.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.969, allocations: 4 kB / 1.405 GB, free: 4.902 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003733/1.972, allocations: 2.08 MB / 1.407 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.069e-05/1.972, allocations: 16 kB / 1.407 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/1.974, allocations: 325 kB / 1.407 GB, free: 2.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.975, allocations: 356.9 kB / 1.408 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/1.976, allocations: 0.96 MB / 1.409 GB, free: 1.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/1.979, allocations: 181.5 kB / 1.409 GB, free: 1.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001813/1.979, allocations: 83.97 kB / 1.409 GB, free: 1.02 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 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.001435/1.981, allocations: 0.7701 MB / 1.41 GB, free: 272 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/1.981, allocations: 276.6 kB / 1.41 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/1.984, allocations: 1.491 MB / 1.411 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/1.984, allocations: 12 kB / 1.411 GB, free: 14.47 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.984, allocations: 0 / 1.411 GB, free: 14.47 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/1.986, allocations: 1.065 MB / 1.412 GB, free: 13.39 MB / 1.045 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.0076/1.993, allocations: 4.274 MB / 1.417 GB, free: 8.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.994, allocations: 8 kB / 1.417 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008057/1.994, allocations: 178.6 kB / 1.417 GB, free: 8.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/1.996, allocations: 297.9 kB / 1.417 GB, free: 8.512 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/1.996, allocations: 32 kB / 1.417 GB, free: 8.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009268/1.997, allocations: 0.9189 MB / 1.418 GB, free: 7.543 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/1.997, allocations: 11 kB / 1.418 GB, free: 7.535 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/2, allocations: 2.167 MB / 1.42 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/2.001, allocations: 0.4896 MB / 1.421 GB, free: 4.758 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004958/2.002, allocations: 31.98 kB / 1.421 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/2.003, allocations: 115.8 kB / 1.421 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/2.004, allocations: 86.41 kB / 1.421 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.393e-05/2.004, allocations: 43.98 kB / 1.421 GB, free: 4.492 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002781/2.006, allocations: 1.764 MB / 1.423 GB, free: 2.73 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/2.006, allocations: 2.906 kB / 1.423 GB, free: 2.73 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00393/2.01, allocations: 1.258 MB / 1.424 GB, free: 1.473 MB / 1.045 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.004912/2.015, allocations: 3.242 MB / 1.427 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004857/2.02, allocations: 2.629 MB / 1.43 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.02, allocations: 384 / 1.43 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/2.021, allocations: 0.563 MB / 1.43 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009887/2.031, allocations: 1.482 MB / 1.432 GB, free: 9.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04523/2.076, allocations: 22.67 MB / 1.454 GB, free: 1.129 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/2.078, allocations: 1.856 MB / 1.455 GB, free: 15.24 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00299/2.081, allocations: 0.684 MB / 1.456 GB, free: 14.56 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/2.083, allocations: 1.148 MB / 1.457 GB, free: 13.41 MB / 1.092 GB Notification: Performance of SimCode: time 1.122e-06/2.083, allocations: 0 / 1.457 GB, free: 13.41 MB / 1.092 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).