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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001478/0.001478, allocations: 108 kB / 15.61 MB, free: 152 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.001693/0.001693, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.415/2.415, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 61.98 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2352, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.7154/0.9507, allocations: 284.2 MB / 1.33 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03606/0.9868, allocations: 23.13 MB / 1.353 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005922/0.9928, allocations: 116.8 kB / 1.353 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01074/1.004, allocations: 4.961 MB / 1.358 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01665/1.02, allocations: 5.242 MB / 1.363 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007375/1.028, allocations: 2.694 MB / 1.366 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01409/1.042, allocations: 10.02 MB / 1.376 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004194/1.046, allocations: 2.646 MB / 1.378 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007873/1.054, allocations: 3.306 MB / 1.381 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004724/1.059, allocations: 2.21 MB / 1.384 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00142/1.06, allocations: 282 kB / 1.384 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/1.072, allocations: 4.284 MB / 1.388 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001977/1.074, allocations: 1.094 MB / 1.389 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004191/1.078, allocations: 1.801 MB / 1.391 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01453/1.093, allocations: 6.295 MB / 1.397 GB, free: 12.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.093, allocations: 0 / 1.397 GB, free: 12.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.484e-06/1.093, allocations: 0 / 1.397 GB, free: 12.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002013/1.093, allocations: 0 / 1.397 GB, free: 12.09 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.01345/1.107, allocations: 3.965 MB / 1.401 GB, free: 9.285 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/1.107, allocations: 11.28 kB / 1.401 GB, free: 9.285 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000861/1.107, allocations: 267.7 kB / 1.401 GB, free: 9.078 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006902/1.114, allocations: 0.8515 MB / 1.402 GB, free: 8.695 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/1.121, allocations: 3.139 MB / 1.405 GB, free: 6.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/1.121, allocations: 152.6 kB / 1.405 GB, free: 6.504 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006194/1.122, allocations: 191.5 kB / 1.405 GB, free: 6.441 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006272/1.128, allocations: 2.247 MB / 1.407 GB, free: 4.453 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.764e-05/1.128, allocations: 15.91 kB / 1.408 GB, free: 4.438 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004871/1.129, allocations: 78.89 kB / 1.408 GB, free: 4.363 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/1.129, allocations: 75.55 kB / 1.408 GB, free: 4.289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005269/1.134, allocations: 1.938 MB / 1.41 GB, free: 2.348 MB / 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.02047/1.155, allocations: 9.8 MB / 1.419 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/1.158, allocations: 1.091 MB / 1.42 GB, free: 6.938 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/1.159, allocations: 0.5818 MB / 1.421 GB, free: 6.359 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009204/1.16, allocations: 0.7071 MB / 1.421 GB, free: 5.512 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/1.16, allocations: 43.56 kB / 1.421 GB, free: 5.461 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001451/1.161, allocations: 172.6 kB / 1.422 GB, free: 5.293 MB / 1.029 GB Notification: Performance of pre-optimization done (n=99): time 7.845e-06/1.161, allocations: 0 / 1.422 GB, free: 5.293 MB / 1.029 GB Notification: Performance of matching and sorting (n=101): time 0.01298/1.174, allocations: 3.977 MB / 1.426 GB, free: 1.234 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/1.174, allocations: 68.41 kB / 1.426 GB, free: 1.156 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005736/1.18, allocations: 2.646 MB / 1.428 GB, free: 14.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003647/1.181, allocations: 49.7 kB / 1.428 GB, free: 14.44 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/1.182, allocations: 1.306 MB / 1.43 GB, free: 13.13 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000599/1.183, allocations: 361.5 kB / 1.43 GB, free: 12.78 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009516/1.184, allocations: 397.9 kB / 1.43 GB, free: 12.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.184, allocations: 305.1 kB / 1.431 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/1.185, allocations: 0.6841 MB / 1.431 GB, free: 11.4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/1.187, allocations: 1.254 MB / 1.432 GB, free: 9.914 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.0135/1.201, allocations: 3.819 MB / 1.436 GB, free: 5.867 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-05/1.201, allocations: 4 kB / 1.436 GB, free: 5.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005759/1.207, allocations: 2.351 MB / 1.438 GB, free: 3.504 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/1.207, allocations: 15.98 kB / 1.438 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.311e-05/1.207, allocations: 16 kB / 1.438 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/1.208, allocations: 310.9 kB / 1.439 GB, free: 3.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/1.21, allocations: 351.5 kB / 1.439 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/1.211, allocations: 0.9581 MB / 1.44 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.214, allocations: 96.5 kB / 1.44 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/1.214, allocations: 79.98 kB / 1.44 GB, free: 1.668 MB / 1.045 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.003003/1.218, allocations: 1.277 MB / 1.441 GB, free: 396 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00201/1.22, allocations: 1.25 MB / 1.443 GB, free: 14.91 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.01309/1.233, allocations: 3.821 MB / 1.446 GB, free: 10.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-05/1.233, allocations: 4 kB / 1.446 GB, free: 10.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=248) (initialization_lambda0): time 0.005049/1.238, allocations: 2.351 MB / 1.449 GB, free: 8.492 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/1.238, allocations: 19.94 kB / 1.449 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.238, allocations: 12 kB / 1.449 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/1.239, allocations: 319.8 kB / 1.449 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/1.241, allocations: 351.5 kB / 1.449 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/1.242, allocations: 0.9542 MB / 1.45 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/1.245, allocations: 112.2 kB / 1.45 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/1.245, allocations: 79.97 kB / 1.45 GB, free: 6.637 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 (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.0006066/1.246, allocations: 283.8 kB / 1.451 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008628/1.246, allocations: 280.6 kB / 1.451 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003247/1.25, allocations: 1.47 MB / 1.452 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/1.25, allocations: 16 kB / 1.452 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.25, allocations: 0 / 1.452 GB, free: 4.578 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00184/1.252, allocations: 1.054 MB / 1.454 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008621/1.26, allocations: 4.08 MB / 1.458 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/1.26, allocations: 8 kB / 1.458 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/1.261, allocations: 171.8 kB / 1.458 GB, free: 15.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/1.263, allocations: 295 kB / 1.458 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-05/1.263, allocations: 32 kB / 1.458 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009187/1.264, allocations: 0.9113 MB / 1.459 GB, free: 13.83 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/1.264, allocations: 8 kB / 1.459 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/1.267, allocations: 2.14 MB / 1.461 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.269, allocations: 485.4 kB / 1.461 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007501/1.269, allocations: 31.97 kB / 1.461 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/1.271, allocations: 52.03 kB / 1.462 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.271, allocations: 80.38 kB / 1.462 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.272, allocations: 43.98 kB / 1.462 GB, free: 10.87 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003519/1.275, allocations: 1.776 MB / 1.463 GB, free: 9.098 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.71e-07/1.275, allocations: 0 / 1.463 GB, free: 9.098 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005094/1.28, allocations: 1.246 MB / 1.465 GB, free: 7.852 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.005362/1.286, allocations: 3.232 MB / 1.468 GB, free: 4.543 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005576/1.291, allocations: 2.742 MB / 1.47 GB, free: 1.805 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.291, allocations: 0 / 1.47 GB, free: 1.805 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.292, allocations: 0.5585 MB / 1.471 GB, free: 1.25 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008048/1.3, allocations: 1.547 MB / 1.472 GB, free: 15.75 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/1.335, allocations: 21.74 MB / 1.494 GB, free: 8.051 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/1.336, allocations: 1.852 MB / 1.496 GB, free: 6.164 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003104/1.339, allocations: 0.6807 MB / 1.496 GB, free: 5.484 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/1.341, allocations: 1.148 MB / 1.497 GB, free: 4.336 MB / 1.107 GB Notification: Performance of SimCode: time 1.173e-06/1.341, allocations: 3.938 kB / 1.497 GB, free: 4.332 MB / 1.107 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).