Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_11_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.001482/0.001482, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001456/0.001456, allocations: 195 kB / 16.26 MB, free: 6.621 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.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.497/2.497, allocations: 469.8 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 68.03 kB / 0.9082 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2506, allocations: 159.2 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.6669/0.9175, allocations: 280.9 MB / 1.338 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02311/0.9406, allocations: 22.99 MB / 1.36 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003422/0.9441, allocations: 104.8 kB / 1.36 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008083/0.9522, allocations: 4.847 MB / 1.365 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.9627, allocations: 4.917 MB / 1.37 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005107/0.9678, allocations: 2.506 MB / 1.372 GB, free: 7.535 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.009439/0.9772, allocations: 10.24 MB / 1.382 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.9801, allocations: 2.638 MB / 1.385 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00534/0.9854, allocations: 3.341 MB / 1.388 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003349/0.9888, allocations: 2.365 MB / 1.391 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005375/0.9893, allocations: 285 kB / 1.391 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006956/0.9963, allocations: 4.433 MB / 1.395 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001322/0.9976, allocations: 1.113 MB / 1.396 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002868/1, allocations: 1.808 MB / 1.398 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009118/1.01, allocations: 6.533 MB / 1.404 GB, free: 8.434 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/1.01, allocations: 0 / 1.404 GB, free: 8.434 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/1.01, allocations: 0 / 1.404 GB, free: 8.434 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001408/1.01, allocations: 4 kB / 1.404 GB, free: 8.43 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.00952/1.019, allocations: 3.971 MB / 1.408 GB, free: 5.629 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/1.019, allocations: 9.906 kB / 1.408 GB, free: 5.629 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004345/1.02, allocations: 261.2 kB / 1.409 GB, free: 5.426 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/1.025, allocations: 0.8499 MB / 1.409 GB, free: 5.047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005081/1.03, allocations: 3.174 MB / 1.412 GB, free: 1.898 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/1.03, allocations: 151.6 kB / 1.413 GB, free: 1.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/1.03, allocations: 188 kB / 1.413 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/1.034, allocations: 2.248 MB / 1.415 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/1.034, allocations: 3.938 kB / 1.415 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/1.034, allocations: 78.89 kB / 1.415 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.44e-05/1.034, allocations: 79.55 kB / 1.415 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/1.038, allocations: 1.962 MB / 1.417 GB, free: 13.14 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.012/1.05, allocations: 9.601 MB / 1.426 GB, free: 3.035 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/1.052, allocations: 1.094 MB / 1.428 GB, free: 1.938 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000944/1.053, allocations: 0.5896 MB / 1.428 GB, free: 1.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007943/1.054, allocations: 0.7039 MB / 1.429 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.054, allocations: 51.56 kB / 1.429 GB, free: 448 kB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008349/1.055, allocations: 171.8 kB / 1.429 GB, free: 280 kB / 1.029 GB Notification: Performance of pre-optimization done (n=101): time 2.926e-06/1.055, allocations: 0 / 1.429 GB, free: 280 kB / 1.029 GB Notification: Performance of matching and sorting (n=103): time 0.01093/1.065, allocations: 4.165 MB / 1.433 GB, free: 12.02 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/1.066, allocations: 64.41 kB / 1.433 GB, free: 11.95 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/1.069, allocations: 2.638 MB / 1.436 GB, free: 9.297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.556e-05/1.069, allocations: 52.05 kB / 1.436 GB, free: 9.242 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.07, allocations: 1.301 MB / 1.437 GB, free: 7.938 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/1.07, allocations: 373.3 kB / 1.437 GB, free: 7.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005545/1.071, allocations: 402.2 kB / 1.438 GB, free: 7.176 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.071, allocations: 301.1 kB / 1.438 GB, free: 6.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/1.072, allocations: 0.6957 MB / 1.439 GB, free: 6.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/1.074, allocations: 1.251 MB / 1.44 GB, free: 4.695 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.01083/1.085, allocations: 3.834 MB / 1.444 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.085, allocations: 7.938 kB / 1.444 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.003678/1.088, allocations: 2.349 MB / 1.446 GB, free: 14.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.088, allocations: 12 kB / 1.446 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.088, allocations: 20.03 kB / 1.446 GB, free: 14.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/1.09, allocations: 304.6 kB / 1.446 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.091, allocations: 359.5 kB / 1.447 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009986/1.092, allocations: 0.9644 MB / 1.448 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/1.094, allocations: 202 kB / 1.448 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/1.094, allocations: 83.97 kB / 1.448 GB, free: 12.32 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 system: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001957/1.096, allocations: 1.277 MB / 1.449 GB, free: 11.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001595/1.097, allocations: 1.254 MB / 1.45 GB, free: 9.559 MB / 1.061 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.01088/1.108, allocations: 3.841 MB / 1.454 GB, free: 5.492 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.346e-06/1.108, allocations: 4 kB / 1.454 GB, free: 5.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=250) (initialization_lambda0): time 0.003661/1.112, allocations: 2.346 MB / 1.456 GB, free: 3.129 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.112, allocations: 12 kB / 1.456 GB, free: 3.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.112, allocations: 12 kB / 1.456 GB, free: 3.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/1.113, allocations: 313 kB / 1.457 GB, free: 2.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.115, allocations: 359.4 kB / 1.457 GB, free: 2.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009566/1.116, allocations: 0.9578 MB / 1.458 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.117, allocations: 188 kB / 1.458 GB, free: 1.281 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/1.117, allocations: 83.98 kB / 1.458 GB, free: 1.199 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.0003367/1.118, allocations: 291.6 kB / 1.459 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/1.118, allocations: 268.6 kB / 1.459 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002609/1.121, allocations: 1.499 MB / 1.46 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.121, allocations: 12 kB / 1.46 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.121, allocations: 0 / 1.46 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001735/1.123, allocations: 1.062 MB / 1.461 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006259/1.129, allocations: 4.067 MB / 1.465 GB, free: 9.809 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/1.129, allocations: 8 kB / 1.465 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/1.13, allocations: 188.2 kB / 1.465 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/1.131, allocations: 286.2 kB / 1.466 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/1.131, allocations: 32 kB / 1.466 GB, free: 9.305 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008909/1.132, allocations: 0.908 MB / 1.467 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.132, allocations: 7.938 kB / 1.467 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/1.135, allocations: 2.176 MB / 1.469 GB, free: 6.078 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/1.136, allocations: 485.4 kB / 1.469 GB, free: 5.582 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/1.136, allocations: 28 kB / 1.469 GB, free: 5.555 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.137, allocations: 107.9 kB / 1.469 GB, free: 5.449 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.137, allocations: 84.31 kB / 1.469 GB, free: 5.367 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.604e-05/1.138, allocations: 51.98 kB / 1.469 GB, free: 5.316 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002319/1.14, allocations: 1.764 MB / 1.471 GB, free: 3.555 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.14, allocations: 0 / 1.471 GB, free: 3.555 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003114/1.143, allocations: 1.262 MB / 1.472 GB, free: 2.293 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.00459/1.148, allocations: 3.241 MB / 1.476 GB, free: 14.97 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004735/1.152, allocations: 2.767 MB / 1.478 GB, free: 12.21 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.152, allocations: 0 / 1.478 GB, free: 12.21 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.153, allocations: 0.5624 MB / 1.479 GB, free: 11.66 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005475/1.159, allocations: 1.56 MB / 1.48 GB, free: 10.14 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03895/1.198, allocations: 22.59 MB / 1.502 GB, free: 1.574 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.2, allocations: 1.86 MB / 1.504 GB, free: 15.68 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002761/1.202, allocations: 0.6856 MB / 1.505 GB, free: 15 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.204, allocations: 1.144 MB / 1.506 GB, free: 13.85 MB / 1.123 GB Notification: Performance of SimCode: time 4.71e-07/1.204, allocations: 7.938 kB / 1.506 GB, free: 13.84 MB / 1.123 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).