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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001358/0.001358, allocations: 193.3 kB / 16.14 MB, free: 6.711 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.75 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2464, allocations: 157.4 MB / 1.052 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.7437/0.9901, allocations: 281.8 MB / 1.327 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03012/1.02, allocations: 23.39 MB / 1.35 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004745/1.025, allocations: 105.4 kB / 1.35 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009305/1.034, allocations: 4.662 MB / 1.355 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/1.046, allocations: 4.898 MB / 1.36 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005703/1.052, allocations: 2.45 MB / 1.362 GB, free: 8.605 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01354/1.065, allocations: 12.67 MB / 1.374 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/1.069, allocations: 2.283 MB / 1.377 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00609/1.075, allocations: 2.919 MB / 1.38 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004664/1.079, allocations: 2.282 MB / 1.382 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009659/1.08, allocations: 146 kB / 1.382 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008848/1.089, allocations: 4.656 MB / 1.386 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001519/1.091, allocations: 0.9734 MB / 1.387 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003591/1.094, allocations: 1.64 MB / 1.389 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01136/1.106, allocations: 6.424 MB / 1.395 GB, free: 11.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.106, allocations: 7.938 kB / 1.395 GB, free: 11.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/1.106, allocations: 0 / 1.395 GB, free: 11.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001946/1.106, allocations: 2.938 kB / 1.395 GB, free: 11.32 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.01108/1.117, allocations: 3.966 MB / 1.399 GB, free: 8.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.117, allocations: 7.688 kB / 1.399 GB, free: 8.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006035/1.118, allocations: 276 kB / 1.399 GB, free: 8.309 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/1.124, allocations: 0.8438 MB / 1.4 GB, free: 7.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006145/1.13, allocations: 3.168 MB / 1.403 GB, free: 4.875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/1.13, allocations: 146.9 kB / 1.404 GB, free: 4.734 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005533/1.131, allocations: 191.9 kB / 1.404 GB, free: 4.547 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/1.135, allocations: 2.247 MB / 1.406 GB, free: 2.246 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/1.135, allocations: 8 kB / 1.406 GB, free: 2.238 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/1.135, allocations: 81.89 kB / 1.406 GB, free: 2.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.379e-05/1.135, allocations: 79.55 kB / 1.406 GB, free: 2.082 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/1.139, allocations: 1.958 MB / 1.408 GB, free: 124 kB / 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.01387/1.153, allocations: 9.609 MB / 1.417 GB, free: 6.008 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/1.155, allocations: 1.083 MB / 1.418 GB, free: 4.918 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009316/1.156, allocations: 0.5896 MB / 1.419 GB, free: 4.332 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007716/1.156, allocations: 0.7041 MB / 1.42 GB, free: 3.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.156, allocations: 51.55 kB / 1.42 GB, free: 3.422 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001364/1.158, allocations: 158.7 kB / 1.42 GB, free: 3.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=101): time 4.278e-06/1.158, allocations: 0 / 1.42 GB, free: 3.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=103): time 0.01258/1.17, allocations: 4.175 MB / 1.424 GB, free: 15.02 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.17, allocations: 64.41 kB / 1.424 GB, free: 14.94 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/1.174, allocations: 2.646 MB / 1.427 GB, free: 12.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/1.174, allocations: 53.7 kB / 1.427 GB, free: 12.23 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009751/1.175, allocations: 1.293 MB / 1.428 GB, free: 10.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/1.176, allocations: 375.2 kB / 1.428 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005937/1.176, allocations: 403.1 kB / 1.429 GB, free: 10.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/1.176, allocations: 301.1 kB / 1.429 GB, free: 9.867 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/1.178, allocations: 0.6919 MB / 1.43 GB, free: 9.172 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/1.179, allocations: 1.254 MB / 1.431 GB, free: 7.688 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.01109/1.19, allocations: 3.832 MB / 1.435 GB, free: 3.637 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.19, allocations: 8 kB / 1.435 GB, free: 3.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.003925/1.194, allocations: 2.345 MB / 1.437 GB, free: 1.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/1.194, allocations: 12 kB / 1.437 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/1.194, allocations: 19.94 kB / 1.437 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/1.196, allocations: 307.6 kB / 1.437 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.197, allocations: 359.5 kB / 1.438 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009289/1.198, allocations: 0.9572 MB / 1.438 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.2, allocations: 192.1 kB / 1.439 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/1.2, allocations: 79.98 kB / 1.439 GB, free: 15.34 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.002017/1.202, allocations: 1.288 MB / 1.44 GB, free: 14.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001416/1.204, allocations: 1.251 MB / 1.441 GB, free: 12.56 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.01098/1.215, allocations: 3.833 MB / 1.445 GB, free: 8.496 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.355e-05/1.215, allocations: 8 kB / 1.445 GB, free: 8.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=250) (initialization_lambda0): time 0.003955/1.219, allocations: 2.35 MB / 1.447 GB, free: 6.137 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.219, allocations: 8 kB / 1.447 GB, free: 6.129 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.219, allocations: 20.38 kB / 1.447 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/1.22, allocations: 317.5 kB / 1.448 GB, free: 5.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.221, allocations: 359.5 kB / 1.448 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009129/1.222, allocations: 0.9608 MB / 1.449 GB, free: 4.461 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/1.225, allocations: 207.7 kB / 1.449 GB, free: 4.262 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/1.225, allocations: 79.98 kB / 1.449 GB, free: 4.184 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.0003809/1.225, allocations: 283.8 kB / 1.449 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/1.226, allocations: 272.6 kB / 1.45 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/1.228, allocations: 1.488 MB / 1.451 GB, free: 2.121 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.228, allocations: 16 kB / 1.451 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.228, allocations: 0 / 1.451 GB, free: 2.105 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001615/1.23, allocations: 1.058 MB / 1.452 GB, free: 1.035 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.006677/1.237, allocations: 4.259 MB / 1.456 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.237, allocations: 12.62 kB / 1.456 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/1.237, allocations: 183.7 kB / 1.457 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/1.239, allocations: 290.6 kB / 1.457 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/1.239, allocations: 28 kB / 1.457 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000821/1.24, allocations: 0.9113 MB / 1.458 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.24, allocations: 8 kB / 1.458 GB, free: 11.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/1.243, allocations: 2.166 MB / 1.46 GB, free: 8.855 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000962/1.244, allocations: 493.3 kB / 1.46 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000325/1.244, allocations: 27.98 kB / 1.46 GB, free: 8.324 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.245, allocations: 119.8 kB / 1.46 GB, free: 8.207 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/1.245, allocations: 84.36 kB / 1.461 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/1.246, allocations: 47.98 kB / 1.461 GB, free: 8.078 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002379/1.248, allocations: 1.768 MB / 1.462 GB, free: 6.312 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.248, allocations: 0 / 1.462 GB, free: 6.312 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003519/1.251, allocations: 1.262 MB / 1.464 GB, free: 5.051 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.004398/1.256, allocations: 3.249 MB / 1.467 GB, free: 1.719 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004927/1.261, allocations: 2.627 MB / 1.469 GB, free: 15.11 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.261, allocations: 0 / 1.469 GB, free: 15.11 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.262, allocations: 0.5622 MB / 1.47 GB, free: 14.54 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006809/1.269, allocations: 1.468 MB / 1.471 GB, free: 13.09 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03985/1.309, allocations: 22.62 MB / 1.493 GB, free: 4.496 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/1.31, allocations: 1.856 MB / 1.495 GB, free: 2.605 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002973/1.313, allocations: 0.6828 MB / 1.496 GB, free: 1.922 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.315, allocations: 1.148 MB / 1.497 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of SimCode: time 6.01e-07/1.315, allocations: 0 / 1.497 GB, free: 0.7734 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).