Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.394/2.394, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002087/0.002087, allocations: 180.8 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.2 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001065, allocations: 100 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.141e-05/7.165e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8786/0.8787, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.933/7.812, allocations: 2.382 GB / 3.346 GB, free: 96.18 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/7.812, allocations: 103.3 kB / 3.346 GB, free: 96.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.183/17, allocations: 1.65 GB / 4.996 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.405e-06/17, allocations: 4 kB / 4.996 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005437/17, allocations: 70.53 kB / 4.996 GB, free: 108.4 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.01678/17.01, allocations: 2.856 MB / 4.999 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/17.01, allocations: 9.438 kB / 4.999 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/17.02, allocations: 0.6684 MB / 5 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/17.03, allocations: 2.77 MB / 5.002 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/17.03, allocations: 57.44 kB / 5.002 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000638/17.03, allocations: 113.5 kB / 5.003 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005735/17.04, allocations: 1.678 MB / 5.004 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0065/17.05, allocations: 1.895 MB / 5.006 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.107e-05/17.05, allocations: 1.875 kB / 5.006 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002853/17.05, allocations: 5 kB / 5.006 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/17.05, allocations: 72.89 kB / 5.006 GB, free: 106.6 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.0229/17.07, allocations: 9.027 MB / 5.015 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/17.07, allocations: 0.96 MB / 5.016 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/17.07, allocations: 0.5668 MB / 5.016 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006622/17.08, allocations: 2.293 MB / 5.019 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/17.08, allocations: 53.59 kB / 5.019 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002832/17.08, allocations: 199 kB / 5.019 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=101): time 1.085e-05/17.08, allocations: 0 / 5.019 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.01277/17.1, allocations: 3.025 MB / 5.022 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/17.1, allocations: 62.31 kB / 5.022 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/17.1, allocations: 1.436 MB / 5.023 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003963/17.1, allocations: 25.7 kB / 5.023 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/17.1, allocations: 1.186 MB / 5.024 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006341/17.1, allocations: 351.4 kB / 5.025 GB, free: 99.91 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/17.1, allocations: 2.844 kB / 5.025 GB, free: 99.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001214/17.1, allocations: 361 kB / 5.025 GB, free: 99.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/17.1, allocations: 461 kB / 5.026 GB, free: 99.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/17.11, allocations: 1.025 MB / 5.027 GB, free: 98.91 MB / 0.9948 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.03729/17.14, allocations: 3.221 MB / 5.03 GB, free: 98.79 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/17.14, allocations: 3.75 kB / 5.03 GB, free: 98.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.007147/17.15, allocations: 1.814 MB / 5.032 GB, free: 98.62 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001369/17.15, allocations: 5.873 MB / 5.037 GB, free: 92.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.076e-05/17.15, allocations: 18.66 kB / 5.037 GB, free: 92.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002934/17.15, allocations: 361.3 kB / 5.038 GB, free: 92.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/17.16, allocations: 300 kB / 5.038 GB, free: 92.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/17.16, allocations: 1.027 MB / 5.039 GB, free: 92 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/17.16, allocations: 125.7 kB / 5.039 GB, free: 91.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005729/17.16, allocations: 84.14 kB / 5.039 GB, free: 91.98 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/17.16, allocations: 5.969 kB / 5.039 GB, free: 91.98 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006506/17.17, allocations: 1.555 MB / 5.041 GB, free: 91.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.05e-05/17.17, allocations: 14.19 kB / 5.041 GB, free: 91.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/17.17, allocations: 360.8 kB / 5.041 GB, free: 91.94 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/17.18, allocations: 295.8 kB / 5.041 GB, free: 91.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/17.18, allocations: 1.028 MB / 5.042 GB, free: 91.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/17.18, allocations: 110.7 kB / 5.042 GB, free: 91.39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004476/17.18, allocations: 76.97 kB / 5.042 GB, free: 91.39 MB / 0.9948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005639/17.18, allocations: 150.5 kB / 5.043 GB, free: 91.27 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005311/17.19, allocations: 1.391 MB / 5.044 GB, free: 91.08 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000816/17.19, allocations: 214.2 kB / 5.044 GB, free: 90.97 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005522/17.19, allocations: 1.465 MB / 5.046 GB, free: 90.86 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/17.19, allocations: 13.08 kB / 5.046 GB, free: 90.86 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/17.19, allocations: 0 / 5.046 GB, free: 90.86 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004016/17.2, allocations: 1.144 MB / 5.047 GB, free: 90.75 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.01012/17.21, allocations: 3.487 MB / 5.05 GB, free: 90.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/17.21, allocations: 9.047 kB / 5.05 GB, free: 90.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/17.21, allocations: 182 kB / 5.05 GB, free: 90.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/17.21, allocations: 312.5 kB / 5.051 GB, free: 90.09 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/17.21, allocations: 21.02 kB / 5.051 GB, free: 90.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/17.21, allocations: 0.9704 MB / 5.052 GB, free: 89.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/17.21, allocations: 8 kB / 5.052 GB, free: 89.55 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004648/17.22, allocations: 2.455 MB / 5.054 GB, free: 88.49 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/17.22, allocations: 415 kB / 5.054 GB, free: 88.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005736/17.22, allocations: 13 kB / 5.054 GB, free: 88.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/17.22, allocations: 80.25 kB / 5.054 GB, free: 88.28 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/17.22, allocations: 79 kB / 5.055 GB, free: 88.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/17.22, allocations: 49 kB / 5.055 GB, free: 88.27 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002332/17.23, allocations: 1.067 MB / 5.056 GB, free: 88.13 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.4e-07/17.23, allocations: 0 / 5.056 GB, free: 88.13 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006963/17.23, allocations: 1.247 MB / 5.057 GB, free: 88.08 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01255/17.25, allocations: 8.217 MB / 5.065 GB, free: 83.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005563/17.25, allocations: 1.974 MB / 5.067 GB, free: 83.71 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/17.25, allocations: 3.688 kB / 5.067 GB, free: 83.71 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/17.25, allocations: 0.5131 MB / 5.067 GB, free: 83.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009502/17.26, allocations: 1.113 MB / 5.068 GB, free: 83.67 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/17.28, allocations: 4.353 MB / 5.073 GB, free: 82.57 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/17.28, allocations: 1.73 MB / 5.074 GB, free: 81.84 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005975/17.29, allocations: 0.733 MB / 5.075 GB, free: 81.81 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/17.29, allocations: 0.9298 MB / 5.076 GB, free: 81.8 MB / 0.9948 GB Notification: Performance of SimCode: time 1.162e-06/17.29, allocations: 4.391 kB / 5.076 GB, free: 81.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2249/17.51, allocations: 85.84 MB / 5.16 GB, free: 77.23 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/17.51, allocations: 199.5 kB / 5.16 GB, free: 77.03 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/24.32, allocations: 4 kB / 5.16 GB, free: 77.02 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)