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.86/2.86, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001614/0.001614, allocations: 181.9 kB / 370.8 MB, free: 10.87 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.138/2.138, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001202, allocations: 101.3 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005042, allocations: 13.17 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.848/8.08, allocations: 2.383 GB / 3.361 GB, free: 243.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/8.08, allocations: 107.4 kB / 3.361 GB, free: 243.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.661/16.74, allocations: 1.669 GB / 5.03 GB, free: 53.1 MB / 0.9948 GB Notification: Performance of FrontEnd: time 4.238e-06/16.74, allocations: 0 / 5.03 GB, free: 53.1 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005253/16.74, allocations: 75.86 kB / 5.03 GB, free: 53.02 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.01949/16.76, allocations: 3.431 MB / 5.034 GB, free: 49.53 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/16.76, allocations: 8.031 kB / 5.034 GB, free: 49.52 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001285/16.76, allocations: 261.8 kB / 5.034 GB, free: 49.25 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008248/16.77, allocations: 0.6677 MB / 5.035 GB, free: 48.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/16.78, allocations: 2.784 MB / 5.037 GB, free: 45.72 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/16.78, allocations: 147.6 kB / 5.038 GB, free: 45.58 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009058/16.78, allocations: 192.5 kB / 5.038 GB, free: 45.39 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008602/16.79, allocations: 2.209 MB / 5.04 GB, free: 43.12 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.871e-05/16.79, allocations: 0 / 5.04 GB, free: 43.12 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000637/16.79, allocations: 72 kB / 5.04 GB, free: 43.05 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/16.79, allocations: 79.53 kB / 5.04 GB, free: 42.98 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007323/16.8, allocations: 1.907 MB / 5.042 GB, free: 41.07 MB / 0.9948 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.02268/16.82, allocations: 9.095 MB / 5.051 GB, free: 31.42 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/16.83, allocations: 0.9692 MB / 5.052 GB, free: 30.45 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006591/16.83, allocations: 2.317 MB / 5.054 GB, free: 27.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/16.83, allocations: 47.56 kB / 5.054 GB, free: 27.9 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002348/16.84, allocations: 178.6 kB / 5.054 GB, free: 27.72 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=101): time 8.526e-06/16.84, allocations: 4 kB / 5.054 GB, free: 27.72 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.02003/16.86, allocations: 3.918 MB / 5.058 GB, free: 23.72 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/16.86, allocations: 64.34 kB / 5.058 GB, free: 23.65 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004739/16.86, allocations: 1.793 MB / 5.06 GB, free: 21.84 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003809/16.86, allocations: 49.7 kB / 5.06 GB, free: 21.79 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/16.86, allocations: 1.184 MB / 5.061 GB, free: 20.58 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006501/16.86, allocations: 370.8 kB / 5.061 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/16.86, allocations: 28 kB / 5.061 GB, free: 20.18 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001367/16.86, allocations: 361.9 kB / 5.062 GB, free: 19.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/16.86, allocations: 467.8 kB / 5.062 GB, free: 19.37 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/16.87, allocations: 1.049 MB / 5.063 GB, free: 18.05 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.01719/16.88, allocations: 2.156 MB / 5.065 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/16.88, allocations: 4 kB / 5.065 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005797/16.89, allocations: 1.768 MB / 5.067 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001343/16.89, allocations: 5.971 MB / 5.073 GB, free: 7.566 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.682e-05/16.89, allocations: 12 kB / 5.073 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/16.89, allocations: 333.4 kB / 5.073 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/16.9, allocations: 287.5 kB / 5.074 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/16.9, allocations: 0.9759 MB / 5.074 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/16.9, allocations: 171.5 kB / 5.075 GB, free: 5.777 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000489/16.9, allocations: 71.98 kB / 5.075 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/16.9, allocations: 4 kB / 5.075 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004712/16.91, allocations: 1.539 MB / 5.076 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.726e-05/16.91, allocations: 12 kB / 5.076 GB, free: 4.152 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/16.91, allocations: 336.8 kB / 5.077 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/16.91, allocations: 283.5 kB / 5.077 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/16.91, allocations: 0.9836 MB / 5.078 GB, free: 2.535 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/16.92, allocations: 147.6 kB / 5.078 GB, free: 2.391 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004721/16.92, allocations: 75.97 kB / 5.078 GB, free: 2.316 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 () * 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.002262/16.92, allocations: 0.653 MB / 5.079 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000824/16.92, allocations: 237.1 kB / 5.079 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/16.93, allocations: 1.403 MB / 5.08 GB, free: 16 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/16.93, allocations: 15.95 kB / 5.08 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/16.93, allocations: 4 kB / 5.08 GB, free: 15.98 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003602/16.93, allocations: 1.062 MB / 5.081 GB, free: 14.89 MB / 1.01 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.01358/16.94, allocations: 3.773 MB / 5.085 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.885e-05/16.94, allocations: 8 kB / 5.085 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/16.95, allocations: 171.8 kB / 5.085 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/16.95, allocations: 308.8 kB / 5.085 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/16.95, allocations: 31.98 kB / 5.085 GB, free: 10.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/16.95, allocations: 0.9389 MB / 5.086 GB, free: 9.488 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.437e-05/16.95, allocations: 11.94 kB / 5.086 GB, free: 9.477 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006829/16.96, allocations: 2.566 MB / 5.089 GB, free: 6.672 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/16.96, allocations: 430 kB / 5.089 GB, free: 6.23 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009245/16.96, allocations: 39.86 kB / 5.089 GB, free: 6.191 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003192/16.96, allocations: 99.83 kB / 5.089 GB, free: 6.094 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/16.96, allocations: 80.8 kB / 5.089 GB, free: 6.016 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/16.96, allocations: 43.98 kB / 5.09 GB, free: 5.973 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004557/16.97, allocations: 1.38 MB / 5.091 GB, free: 4.582 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.4e-07/16.97, allocations: 0 / 5.091 GB, free: 4.582 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008587/16.98, allocations: 1.398 MB / 5.092 GB, free: 3.184 MB / 1.01 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 1.118/18.1, allocations: 8.132 MB / 5.1 GB, free: 121.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009932/18.11, allocations: 2.004 MB / 5.102 GB, free: 121.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.162e-05/18.11, allocations: 0.9688 kB / 5.102 GB, free: 121.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00316/18.11, allocations: 0.5527 MB / 5.103 GB, free: 121.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0152/18.12, allocations: 1.304 MB / 5.104 GB, free: 121.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03324/18.16, allocations: 16.81 MB / 5.12 GB, free: 108.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004881/18.16, allocations: 1.729 MB / 5.122 GB, free: 107.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00755/18.17, allocations: 0.5768 MB / 5.123 GB, free: 107.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003926/18.17, allocations: 0.9707 MB / 5.124 GB, free: 107.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.543e-06/18.17, allocations: 0 / 5.124 GB, free: 107.8 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2746/18.45, allocations: 110.8 MB / 5.232 GB, free: 104.7 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003076/18.45, allocations: 273.6 kB / 5.232 GB, free: 104.4 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/26.56, allocations: 4 kB / 5.232 GB, free: 104.3 MB / 1.01 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)