Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.0009809/0.0009809, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009324/0.0009324, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005217, allocations: 14.31 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2438, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.6887/0.9326, allocations: 209.9 MB / 0.9922 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02978/0.9624, allocations: 15.76 MB / 1.008 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/0.966, allocations: 66.31 kB / 1.008 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.9699, allocations: 0.9874 MB / 1.009 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.9812, allocations: 3.219 MB / 1.012 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006352/0.9876, allocations: 1.826 MB / 1.014 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007428/0.995, allocations: 3.012 MB / 1.016 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002677/0.9977, allocations: 1.324 MB / 1.018 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005233/1.003, allocations: 1.566 MB / 1.019 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/1.006, allocations: 0.9668 MB / 1.02 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000425/1.006, allocations: 68.47 kB / 1.02 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004808/1.011, allocations: 1.299 MB / 1.022 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007262/1.012, allocations: 434 kB / 1.022 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009694/1.013, allocations: 431.4 kB / 1.022 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/1.017, allocations: 2.438 MB / 1.025 GB, free: 232 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.017, allocations: 0 / 1.025 GB, free: 232 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.384e-06/1.017, allocations: 3.938 kB / 1.025 GB, free: 228 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.387e-05/1.017, allocations: 0 / 1.025 GB, free: 228 kB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.00459/1.022, allocations: 2.073 MB / 1.027 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.022, allocations: 11.06 kB / 1.027 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002958/1.022, allocations: 201.2 kB / 1.027 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/1.024, allocations: 381.7 kB / 1.027 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/1.027, allocations: 1.322 MB / 1.029 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-05/1.027, allocations: 108.8 kB / 1.029 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/1.027, allocations: 143.8 kB / 1.029 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/1.03, allocations: 1.491 MB / 1.03 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/1.03, allocations: 6.469 kB / 1.03 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.03, allocations: 57.81 kB / 1.03 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/1.03, allocations: 53.23 kB / 1.03 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/1.032, allocations: 1.155 MB / 1.032 GB, free: 11.68 MB / 0.7481 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.01069/1.043, allocations: 7.295 MB / 1.039 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/1.045, allocations: 0.8586 MB / 1.04 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008661/1.045, allocations: 0.5541 MB / 1.04 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/1.046, allocations: 45.52 kB / 1.04 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 4.008e-06/1.046, allocations: 0 / 1.04 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.007932/1.054, allocations: 2.207 MB / 1.042 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/1.054, allocations: 64 kB / 1.042 GB, free: 2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/1.056, allocations: 1.321 MB / 1.044 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/1.056, allocations: 41.7 kB / 1.044 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007745/1.057, allocations: 0.7938 MB / 1.044 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/1.057, allocations: 260.2 kB / 1.045 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/1.057, allocations: 20 kB / 1.045 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.057, allocations: 338 kB / 1.045 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/1.058, allocations: 329.8 kB / 1.045 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009051/1.059, allocations: 0.5683 MB / 1.046 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/1.06, allocations: 414.8 kB / 1.046 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/1.06, allocations: 4 kB / 1.046 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003324/1.063, allocations: 1.267 MB / 1.048 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001055/1.064, allocations: 1.974 MB / 1.05 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.064, allocations: 4 kB / 1.05 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/1.066, allocations: 421.9 kB / 1.05 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/1.067, allocations: 159.8 kB / 1.05 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/1.069, allocations: 2.054 MB / 1.052 GB, free: 7.648 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/1.071, allocations: 187 kB / 1.052 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/1.071, allocations: 39.98 kB / 1.052 GB, free: 7.426 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.071, allocations: 7.125 kB / 1.052 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002049/1.073, allocations: 1.064 MB / 1.053 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.073, allocations: 4 kB / 1.053 GB, free: 6.348 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/1.075, allocations: 378.6 kB / 1.054 GB, free: 5.969 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/1.075, allocations: 159.8 kB / 1.054 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003675/1.079, allocations: 3.88 MB / 1.058 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.081, allocations: 179 kB / 1.058 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/1.081, allocations: 32 kB / 1.058 GB, free: 1.438 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001004/1.082, allocations: 479.7 kB / 1.058 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/1.082, allocations: 154.1 kB / 1.058 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002968/1.085, allocations: 1.229 MB / 1.06 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.085, allocations: 12 kB / 1.06 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/1.085, allocations: 3.938 kB / 1.06 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002507/1.088, allocations: 1.318 MB / 1.061 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/1.092, allocations: 2.74 MB / 1.064 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.092, allocations: 0 / 1.064 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/1.093, allocations: 104.2 kB / 1.064 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/1.094, allocations: 370.1 kB / 1.064 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/1.094, allocations: 23.92 kB / 1.064 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/1.096, allocations: 2.046 MB / 1.066 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.096, allocations: 4 kB / 1.066 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/1.098, allocations: 1.398 MB / 1.067 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007446/1.099, allocations: 350.9 kB / 1.068 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/1.099, allocations: 16 kB / 1.068 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.1, allocations: 122.6 kB / 1.068 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.1, allocations: 52.39 kB / 1.068 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/1.1, allocations: 35.98 kB / 1.068 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001241/1.102, allocations: 0.8895 MB / 1.069 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/1.102, allocations: 0 / 1.069 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002658/1.104, allocations: 0.9116 MB / 1.07 GB, free: 4.746 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003292/1.108, allocations: 2.917 MB / 1.073 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003435/1.111, allocations: 1.665 MB / 1.074 GB, free: 36 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.111, allocations: 3.938 kB / 1.074 GB, free: 32 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.112, allocations: 483 kB / 1.075 GB, free: 15.56 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/1.116, allocations: 0.7763 MB / 1.075 GB, free: 14.79 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008699/1.125, allocations: 7.329 MB / 1.083 GB, free: 7.277 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.126, allocations: 1.391 MB / 1.084 GB, free: 5.859 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001579/1.128, allocations: 323.2 kB / 1.084 GB, free: 5.543 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008791/1.128, allocations: 0.636 MB / 1.085 GB, free: 4.91 MB / 0.795 GB Notification: Performance of SimCode: time 7.71e-07/1.128, allocations: 0 / 1.085 GB, free: 4.91 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/1.25, allocations: 43.95 MB / 1.128 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/1.251, allocations: 264.9 kB / 1.128 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.436/4.687, allocations: 0 / 1.128 GB, free: 9.254 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1) Environment - environmentSimulation: