Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001425, allocations: 188.9 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 89.84 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003417, allocations: 12.19 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2645, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.617/6.881, allocations: 2.5 GB / 3.4 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/6.882, allocations: 108.5 kB / 3.4 GB, free: 7.277 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.646/13.53, allocations: 1.623 GB / 5.023 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.655e-06/13.53, allocations: 0 / 5.023 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003854/13.53, allocations: 69.09 kB / 5.023 GB, free: 104.5 MB / 0.9323 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.01419/13.54, allocations: 3.436 MB / 5.026 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/13.54, allocations: 14.23 kB / 5.026 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00121/13.54, allocations: 267.2 kB / 5.026 GB, free: 102.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/13.55, allocations: 0.6673 MB / 5.027 GB, free: 102.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007867/13.56, allocations: 2.808 MB / 5.03 GB, free: 100.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/13.56, allocations: 144 kB / 5.03 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004726/13.56, allocations: 191.6 kB / 5.03 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003996/13.56, allocations: 2.217 MB / 5.032 GB, free: 99.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/13.56, allocations: 0 / 5.032 GB, free: 99.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/13.56, allocations: 72.62 kB / 5.032 GB, free: 99.64 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/13.56, allocations: 78.84 kB / 5.032 GB, free: 99.63 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/13.56, allocations: 1.915 MB / 5.034 GB, free: 98.91 MB / 0.9323 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.01363/13.58, allocations: 9.11 MB / 5.043 GB, free: 90.14 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/13.58, allocations: 0.967 MB / 5.044 GB, free: 89.17 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004252/13.58, allocations: 2.31 MB / 5.046 GB, free: 86.68 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/13.58, allocations: 47.56 kB / 5.046 GB, free: 86.63 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001496/13.59, allocations: 174.6 kB / 5.047 GB, free: 86.46 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=101): time 6.232e-06/13.59, allocations: 0 / 5.047 GB, free: 86.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.01267/13.6, allocations: 3.906 MB / 5.05 GB, free: 82.47 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/13.6, allocations: 64.34 kB / 5.051 GB, free: 82.39 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004706/13.6, allocations: 1.813 MB / 5.052 GB, free: 80.57 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002642/13.6, allocations: 49.7 kB / 5.052 GB, free: 80.51 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/13.61, allocations: 1.184 MB / 5.053 GB, free: 79.31 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000462/13.61, allocations: 366.7 kB / 5.054 GB, free: 78.95 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/13.61, allocations: 24 kB / 5.054 GB, free: 78.92 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001355/13.61, allocations: 365.9 kB / 5.054 GB, free: 78.56 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008785/13.61, allocations: 459.8 kB / 5.055 GB, free: 78.11 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/13.61, allocations: 1.046 MB / 5.056 GB, free: 76.8 MB / 0.9323 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.009816/13.62, allocations: 2.126 MB / 5.058 GB, free: 74.66 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/13.62, allocations: 4 kB / 5.058 GB, free: 74.66 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004499/13.62, allocations: 1.771 MB / 5.059 GB, free: 72.88 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001943/13.62, allocations: 5.964 MB / 5.065 GB, free: 66.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.541e-05/13.62, allocations: 16 kB / 5.065 GB, free: 66.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/13.63, allocations: 338.5 kB / 5.066 GB, free: 66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/13.63, allocations: 295.5 kB / 5.066 GB, free: 65.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/13.63, allocations: 0.9775 MB / 5.067 GB, free: 64.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/13.63, allocations: 171.5 kB / 5.067 GB, free: 64.54 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/13.63, allocations: 79.97 kB / 5.067 GB, free: 64.46 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/13.63, allocations: 4 kB / 5.067 GB, free: 64.46 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002972/13.64, allocations: 1.512 MB / 5.069 GB, free: 62.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.274e-05/13.64, allocations: 12 kB / 5.069 GB, free: 62.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/13.64, allocations: 343.2 kB / 5.069 GB, free: 62.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/13.64, allocations: 287.5 kB / 5.069 GB, free: 62.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009119/13.64, allocations: 0.9814 MB / 5.07 GB, free: 61.31 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/13.64, allocations: 139.7 kB / 5.07 GB, free: 61.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/13.64, allocations: 75.97 kB / 5.07 GB, free: 61.1 MB / 0.9323 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 () * Number of clocked 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.002169/13.64, allocations: 0.6621 MB / 5.071 GB, free: 60.43 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000899/13.65, allocations: 237.1 kB / 5.071 GB, free: 60.19 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/13.65, allocations: 1.387 MB / 5.073 GB, free: 58.79 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/13.65, allocations: 12 kB / 5.073 GB, free: 58.78 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/13.65, allocations: 3.953 kB / 5.073 GB, free: 58.78 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001574/13.65, allocations: 1.058 MB / 5.074 GB, free: 57.7 MB / 0.9323 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 postOpt removeSimpleEquations (simulation): time 0.009137/13.66, allocations: 3.777 MB / 5.077 GB, free: 53.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/13.66, allocations: 11.95 kB / 5.077 GB, free: 53.76 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008561/13.66, allocations: 163.8 kB / 5.077 GB, free: 53.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/13.66, allocations: 312.2 kB / 5.078 GB, free: 53.29 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.352e-05/13.66, allocations: 32 kB / 5.078 GB, free: 53.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008439/13.66, allocations: 0.9353 MB / 5.079 GB, free: 52.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/13.66, allocations: 11.94 kB / 5.079 GB, free: 52.29 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/13.67, allocations: 2.56 MB / 5.081 GB, free: 49.49 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001712/13.67, allocations: 442 kB / 5.082 GB, free: 49.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000859/13.67, allocations: 31.94 kB / 5.082 GB, free: 49.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/13.67, allocations: 103.8 kB / 5.082 GB, free: 48.91 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/13.67, allocations: 76.81 kB / 5.082 GB, free: 48.83 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/13.67, allocations: 51.97 kB / 5.082 GB, free: 48.78 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003123/13.67, allocations: 1.388 MB / 5.083 GB, free: 47.38 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.21e-07/13.67, allocations: 0 / 5.083 GB, free: 47.38 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007304/13.68, allocations: 1.406 MB / 5.085 GB, free: 45.97 MB / 0.9323 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 () * Number of clocked 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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01058/13.69, allocations: 8.134 MB / 5.093 GB, free: 37.44 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004547/13.7, allocations: 1.988 MB / 5.095 GB, free: 35.46 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/13.7, allocations: 4 kB / 5.095 GB, free: 35.46 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/13.7, allocations: 0.5516 MB / 5.095 GB, free: 34.91 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007092/13.71, allocations: 1.312 MB / 5.096 GB, free: 33.64 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/13.72, allocations: 16.84 MB / 5.113 GB, free: 16.25 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/13.73, allocations: 1.737 MB / 5.115 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003763/13.73, allocations: 0.5641 MB / 5.115 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/13.73, allocations: 0.9757 MB / 5.116 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of SimCode: time 1.773e-06/13.73, allocations: 4 kB / 5.116 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8702/14.6, allocations: 111 MB / 5.224 GB, free: 108.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/14.6, allocations: 286.1 kB / 5.225 GB, free: 107.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.556/21.16, allocations: 0 / 5.225 GB, free: 107.9 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)