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.001313/0.001313, 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.001188/0.001188, allocations: 193.9 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.656/2.656, allocations: 469.8 MB / 0.7424 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001749, allocations: 64.89 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2493, allocations: 159.1 MB / 1.064 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.692/0.9413, allocations: 284.2 MB / 1.342 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02396/0.9653, allocations: 23.13 MB / 1.364 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0032/0.9685, allocations: 115.2 kB / 1.364 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007547/0.9761, allocations: 4.949 MB / 1.369 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.9863, allocations: 5.241 MB / 1.374 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004946/0.9912, allocations: 2.71 MB / 1.377 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009032/1, allocations: 10.02 MB / 1.387 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/1.003, allocations: 2.651 MB / 1.389 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/1.007, allocations: 3.301 MB / 1.393 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/1.01, allocations: 2.212 MB / 1.395 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003307/1.01, allocations: 285.5 kB / 1.395 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007287/1.018, allocations: 4.283 MB / 1.399 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009352/1.019, allocations: 1.094 MB / 1.4 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001736/1.02, allocations: 1.796 MB / 1.402 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007436/1.028, allocations: 6.288 MB / 1.408 GB, free: 7.227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.028, allocations: 4 kB / 1.408 GB, free: 7.223 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/1.028, allocations: 0 / 1.408 GB, free: 7.223 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.649e-05/1.028, allocations: 3.984 kB / 1.408 GB, free: 7.219 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.007383/1.035, allocations: 3.965 MB / 1.412 GB, free: 4.422 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/1.035, allocations: 6.906 kB / 1.412 GB, free: 4.422 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003072/1.036, allocations: 263.7 kB / 1.412 GB, free: 4.219 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/1.04, allocations: 0.847 MB / 1.413 GB, free: 3.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004441/1.045, allocations: 3.154 MB / 1.416 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/1.045, allocations: 143.7 kB / 1.416 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/1.045, allocations: 194.6 kB / 1.417 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/1.049, allocations: 2.253 MB / 1.419 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/1.049, allocations: 4 kB / 1.419 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/1.049, allocations: 77.17 kB / 1.419 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.401e-05/1.049, allocations: 79.53 kB / 1.419 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/1.052, allocations: 1.938 MB / 1.421 GB, free: 11.62 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.01186/1.064, allocations: 9.795 MB / 1.43 GB, free: 1.316 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/1.066, allocations: 1.098 MB / 1.431 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009808/1.067, allocations: 0.581 MB / 1.432 GB, free: 15.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008073/1.068, allocations: 0.711 MB / 1.433 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/1.068, allocations: 47.56 kB / 1.433 GB, free: 14.72 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007063/1.069, allocations: 160.6 kB / 1.433 GB, free: 14.56 MB / 1.045 GB Notification: Performance of pre-optimization done (n=99): time 2.374e-06/1.069, allocations: 0 / 1.433 GB, free: 14.56 MB / 1.045 GB Notification: Performance of matching and sorting (n=101): time 0.01025/1.079, allocations: 3.988 MB / 1.437 GB, free: 10.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/1.079, allocations: 64.41 kB / 1.437 GB, free: 10.42 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/1.082, allocations: 2.646 MB / 1.439 GB, free: 7.766 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/1.082, allocations: 49.7 kB / 1.439 GB, free: 7.711 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/1.084, allocations: 1.298 MB / 1.441 GB, free: 6.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/1.084, allocations: 368.1 kB / 1.441 GB, free: 6.055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005265/1.084, allocations: 391.2 kB / 1.441 GB, free: 5.664 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.085, allocations: 313.1 kB / 1.442 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/1.086, allocations: 0.6841 MB / 1.442 GB, free: 4.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/1.087, allocations: 1.251 MB / 1.444 GB, free: 3.188 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.01088/1.098, allocations: 3.821 MB / 1.447 GB, free: 15.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.098, allocations: 4 kB / 1.447 GB, free: 15.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.003631/1.102, allocations: 2.35 MB / 1.45 GB, free: 12.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.102, allocations: 12 kB / 1.45 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.102, allocations: 16 kB / 1.45 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/1.103, allocations: 317 kB / 1.45 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.104, allocations: 347.5 kB / 1.45 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009981/1.105, allocations: 0.9647 MB / 1.451 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.107, allocations: 96.23 kB / 1.451 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/1.107, allocations: 84.05 kB / 1.451 GB, free: 10.94 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.001966/1.109, allocations: 1.273 MB / 1.453 GB, free: 9.664 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00158/1.111, allocations: 1.254 MB / 1.454 GB, free: 8.176 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.122, allocations: 3.814 MB / 1.458 GB, free: 4.141 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.764e-06/1.122, allocations: 4 kB / 1.458 GB, free: 4.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=248) (initialization_lambda0): time 0.003626/1.125, allocations: 2.348 MB / 1.46 GB, free: 1.777 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.125, allocations: 13.34 kB / 1.46 GB, free: 1.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/1.125, allocations: 20 kB / 1.46 GB, free: 1.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/1.127, allocations: 316.7 kB / 1.46 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.128, allocations: 351.5 kB / 1.461 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009616/1.129, allocations: 0.9581 MB / 1.462 GB, free: 108 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.13, allocations: 104.7 kB / 1.462 GB, free: 4 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.13, allocations: 75.98 kB / 1.462 GB, free: 15.93 MB / 1.076 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.0003452/1.131, allocations: 295.8 kB / 1.462 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/1.131, allocations: 268.6 kB / 1.462 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/1.134, allocations: 1.472 MB / 1.464 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/1.134, allocations: 12 kB / 1.464 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.134, allocations: 0 / 1.464 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001745/1.136, allocations: 1.066 MB / 1.465 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006107/1.142, allocations: 4.081 MB / 1.469 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.142, allocations: 8 kB / 1.469 GB, free: 8.535 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/1.142, allocations: 171.8 kB / 1.469 GB, free: 8.367 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/1.144, allocations: 288.9 kB / 1.469 GB, free: 8.082 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/1.144, allocations: 32 kB / 1.469 GB, free: 8.051 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009014/1.145, allocations: 0.9105 MB / 1.47 GB, free: 7.117 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.145, allocations: 12.06 kB / 1.47 GB, free: 7.105 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/1.148, allocations: 2.14 MB / 1.472 GB, free: 4.852 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007137/1.149, allocations: 477.5 kB / 1.473 GB, free: 4.363 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/1.149, allocations: 27.98 kB / 1.473 GB, free: 4.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.15, allocations: 56.03 kB / 1.473 GB, free: 4.281 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.15, allocations: 84.31 kB / 1.473 GB, free: 4.199 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/1.15, allocations: 47.98 kB / 1.473 GB, free: 4.152 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002312/1.153, allocations: 1.772 MB / 1.475 GB, free: 2.383 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.71e-07/1.153, allocations: 0 / 1.475 GB, free: 2.383 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002872/1.155, allocations: 1.246 MB / 1.476 GB, free: 1.137 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 (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.004468/1.16, allocations: 3.219 MB / 1.479 GB, free: 13.83 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00473/1.165, allocations: 2.752 MB / 1.482 GB, free: 11.09 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.165, allocations: 0.8125 kB / 1.482 GB, free: 11.09 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.166, allocations: 0.5546 MB / 1.482 GB, free: 10.54 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/1.171, allocations: 1.552 MB / 1.484 GB, free: 9.035 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/1.199, allocations: 21.73 MB / 1.505 GB, free: 1.336 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/1.2, allocations: 1.859 MB / 1.507 GB, free: 15.45 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002696/1.203, allocations: 0.6757 MB / 1.507 GB, free: 14.77 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.204, allocations: 1.148 MB / 1.508 GB, free: 13.62 MB / 1.123 GB Notification: Performance of SimCode: time 4.81e-07/1.204, allocations: 4 kB / 1.508 GB, free: 13.62 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).