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.001272/0.001272, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001307, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.419/2.419, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5373/0.5386, allocations: 151.6 MB / 1.017 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.724/1.263, allocations: 284.2 MB / 1.295 GB, free: 25.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02604/1.289, allocations: 23.13 MB / 1.318 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004041/1.293, allocations: 114.8 kB / 1.318 GB, free: 25.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008666/1.301, allocations: 4.962 MB / 1.323 GB, free: 25.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01163/1.313, allocations: 5.247 MB / 1.328 GB, free: 25.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006169/1.319, allocations: 2.697 MB / 1.33 GB, free: 25.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01133/1.331, allocations: 10.01 MB / 1.34 GB, free: 25.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003526/1.334, allocations: 2.646 MB / 1.343 GB, free: 24.78 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/1.341, allocations: 3.307 MB / 1.346 GB, free: 24.54 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003452/1.344, allocations: 2.223 MB / 1.348 GB, free: 23.94 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005533/1.345, allocations: 280.2 kB / 1.348 GB, free: 23.94 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007772/1.352, allocations: 4.276 MB / 1.352 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/1.354, allocations: 1.096 MB / 1.354 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002198/1.356, allocations: 1.794 MB / 1.355 GB, free: 21.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008307/1.364, allocations: 6.298 MB / 1.361 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.364, allocations: 0 / 1.361 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/1.364, allocations: 3.938 kB / 1.361 GB, free: 19.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.547e-05/1.364, allocations: 0 / 1.361 GB, free: 19.27 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.007819/1.372, allocations: 3.965 MB / 1.365 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/1.372, allocations: 15.17 kB / 1.365 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002605/1.372, allocations: 271 kB / 1.366 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/1.377, allocations: 0.8425 MB / 1.366 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/1.381, allocations: 3.146 MB / 1.37 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.381, allocations: 145 kB / 1.37 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/1.381, allocations: 196.2 kB / 1.37 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003025/1.384, allocations: 2.25 MB / 1.372 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/1.385, allocations: 2.625 kB / 1.372 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/1.385, allocations: 79.25 kB / 1.372 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/1.385, allocations: 78.38 kB / 1.372 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/1.388, allocations: 1.935 MB / 1.374 GB, free: 11.27 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.009493/1.397, allocations: 9.783 MB / 1.384 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/1.399, allocations: 1.107 MB / 1.385 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000798/1.4, allocations: 0.5804 MB / 1.385 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/1.4, allocations: 0.7102 MB / 1.386 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/1.4, allocations: 43.56 kB / 1.386 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007196/1.401, allocations: 166.5 kB / 1.386 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=99): time 2.525e-06/1.401, allocations: 4 kB / 1.386 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.009001/1.41, allocations: 3.967 MB / 1.39 GB, free: 13.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.41, allocations: 68.34 kB / 1.39 GB, free: 13.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/1.413, allocations: 2.65 MB / 1.393 GB, free: 10.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.295e-05/1.413, allocations: 49.7 kB / 1.393 GB, free: 10.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009739/1.414, allocations: 1.304 MB / 1.394 GB, free: 9.121 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/1.415, allocations: 364.5 kB / 1.394 GB, free: 8.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005085/1.415, allocations: 395.2 kB / 1.395 GB, free: 8.375 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.705e-05/1.415, allocations: 301.1 kB / 1.395 GB, free: 8.078 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/1.416, allocations: 0.6983 MB / 1.396 GB, free: 7.379 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/1.418, allocations: 1.246 MB / 1.397 GB, free: 5.906 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.01124/1.429, allocations: 3.829 MB / 1.401 GB, free: 1.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/1.429, allocations: 4 kB / 1.401 GB, free: 1.906 MB / 1.014 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.003917/1.433, allocations: 2.35 MB / 1.403 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.433, allocations: 16.09 kB / 1.403 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/1.433, allocations: 19.98 kB / 1.403 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/1.434, allocations: 308.6 kB / 1.403 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.436, allocations: 360.3 kB / 1.404 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009781/1.437, allocations: 0.9625 MB / 1.405 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/1.439, allocations: 95.25 kB / 1.405 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.439, allocations: 79.92 kB / 1.405 GB, free: 13.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 system: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002045/1.441, allocations: 1.277 MB / 1.406 GB, free: 12.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001477/1.442, allocations: 1.253 MB / 1.407 GB, free: 11.07 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.01102/1.453, allocations: 3.811 MB / 1.411 GB, free: 7.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.2e-05/1.453, allocations: 4 kB / 1.411 GB, free: 7.086 MB / 1.029 GB Notification: Performance of matching and sorting (n=248) (initialization_lambda0): time 0.003826/1.457, allocations: 2.349 MB / 1.413 GB, free: 4.812 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.457, allocations: 8 kB / 1.413 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/1.457, allocations: 16.5 kB / 1.413 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/1.459, allocations: 318.5 kB / 1.414 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.46, allocations: 356.4 kB / 1.414 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009092/1.461, allocations: 0.9565 MB / 1.415 GB, free: 3.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.463, allocations: 102.8 kB / 1.415 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.463, allocations: 79.98 kB / 1.415 GB, free: 2.996 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 (192): * Single equations (assignments): 188 * 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.0003533/1.463, allocations: 290.1 kB / 1.415 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/1.464, allocations: 268.6 kB / 1.416 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/1.466, allocations: 1.479 MB / 1.417 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.466, allocations: 15.94 kB / 1.417 GB, free: 0.957 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.466, allocations: 0 / 1.417 GB, free: 0.957 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001704/1.468, allocations: 1.057 MB / 1.418 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/1.475, allocations: 4.078 MB / 1.422 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.475, allocations: 8.656 kB / 1.422 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/1.475, allocations: 177.8 kB / 1.422 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/1.477, allocations: 295.7 kB / 1.422 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/1.477, allocations: 32 kB / 1.423 GB, free: 11.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008315/1.478, allocations: 0.9092 MB / 1.423 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/1.478, allocations: 10.62 kB / 1.423 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/1.481, allocations: 2.144 MB / 1.425 GB, free: 8.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008566/1.482, allocations: 489.4 kB / 1.426 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/1.482, allocations: 24 kB / 1.426 GB, free: 7.496 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.483, allocations: 55.89 kB / 1.426 GB, free: 7.441 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.484, allocations: 77.55 kB / 1.426 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/1.484, allocations: 43.98 kB / 1.426 GB, free: 7.328 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002413/1.486, allocations: 1.776 MB / 1.428 GB, free: 5.555 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.8e-07/1.486, allocations: 0 / 1.428 GB, free: 5.555 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003278/1.489, allocations: 1.249 MB / 1.429 GB, free: 4.309 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 (83): * Single equations (assignments): 80 * 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.00455/1.494, allocations: 3.221 MB / 1.432 GB, free: 1.027 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004928/1.499, allocations: 2.74 MB / 1.435 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/1.499, allocations: 0 / 1.435 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.5, allocations: 0.5497 MB / 1.435 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006505/1.506, allocations: 1.545 MB / 1.437 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/1.535, allocations: 21.75 MB / 1.458 GB, free: 4.793 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/1.536, allocations: 1.852 MB / 1.46 GB, free: 2.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002816/1.539, allocations: 0.6854 MB / 1.461 GB, free: 2.227 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/1.541, allocations: 1.144 MB / 1.462 GB, free: 1.086 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/1.541, allocations: 0 / 1.462 GB, free: 1.086 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).