Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 288.2 MB / 303.2 MB, free: 8.109 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.001109/0.001109, allocations: 173.9 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.001118/0.001119, allocations: 88.23 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004291, allocations: 14 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2581, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.849/7.107, allocations: 2.383 GB / 3.363 GB, free: 240.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/7.108, allocations: 106.9 kB / 3.363 GB, free: 240.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.402/13.51, allocations: 1.669 GB / 5.032 GB, free: 47.06 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.136e-06/13.51, allocations: 0 / 5.032 GB, free: 47.06 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005326/13.51, allocations: 67.98 kB / 5.032 GB, free: 47 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.01526/13.53, allocations: 3.431 MB / 5.035 GB, free: 43.5 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/13.53, allocations: 8.031 kB / 5.035 GB, free: 43.49 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001344/13.53, allocations: 261.8 kB / 5.035 GB, free: 43.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006033/13.53, allocations: 0.6786 MB / 5.036 GB, free: 42.55 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009484/13.54, allocations: 2.78 MB / 5.039 GB, free: 39.69 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/13.54, allocations: 147.6 kB / 5.039 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008746/13.54, allocations: 192 kB / 5.039 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006599/13.55, allocations: 2.198 MB / 5.041 GB, free: 37.11 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/13.55, allocations: 7.891 kB / 5.041 GB, free: 37.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000558/13.55, allocations: 76 kB / 5.041 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.802e-05/13.55, allocations: 75.53 kB / 5.041 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/13.56, allocations: 1.907 MB / 5.043 GB, free: 35.04 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.01777/13.57, allocations: 9.098 MB / 5.052 GB, free: 25.39 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/13.58, allocations: 0.9735 MB / 5.053 GB, free: 24.41 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005036/13.58, allocations: 2.309 MB / 5.055 GB, free: 21.92 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/13.58, allocations: 47.56 kB / 5.055 GB, free: 21.87 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001777/13.58, allocations: 174.6 kB / 5.056 GB, free: 21.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=101): time 9.989e-06/13.58, allocations: 3.938 kB / 5.056 GB, free: 21.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.0124/13.6, allocations: 3.922 MB / 5.059 GB, free: 17.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/13.6, allocations: 64.41 kB / 5.059 GB, free: 17.62 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/13.6, allocations: 1.789 MB / 5.061 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/13.6, allocations: 53.64 kB / 5.061 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/13.6, allocations: 1.187 MB / 5.062 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005559/13.6, allocations: 366.7 kB / 5.063 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/13.6, allocations: 28 kB / 5.063 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001492/13.6, allocations: 365.9 kB / 5.063 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009416/13.6, allocations: 463.8 kB / 5.064 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/13.6, allocations: 1.05 MB / 5.065 GB, free: 12.03 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.009909/13.61, allocations: 2.159 MB / 5.067 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/13.61, allocations: 4 kB / 5.067 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004289/13.62, allocations: 1.77 MB / 5.068 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001556/13.62, allocations: 5.967 MB / 5.074 GB, free: 1.535 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.097e-05/13.62, allocations: 16 kB / 5.074 GB, free: 1.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/13.62, allocations: 331.6 kB / 5.075 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/13.62, allocations: 291.5 kB / 5.075 GB, free: 0.9102 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/13.62, allocations: 0.9746 MB / 5.076 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/13.63, allocations: 163.5 kB / 5.076 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/13.63, allocations: 79.97 kB / 5.076 GB, free: 15.67 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/13.63, allocations: 5.25 kB / 5.076 GB, free: 15.67 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003657/13.63, allocations: 1.532 MB / 5.078 GB, free: 14.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.564e-05/13.63, allocations: 16 kB / 5.078 GB, free: 14.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/13.63, allocations: 336.7 kB / 5.078 GB, free: 13.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/13.63, allocations: 283.5 kB / 5.078 GB, free: 13.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/13.64, allocations: 0.9716 MB / 5.079 GB, free: 12.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/13.64, allocations: 151.6 kB / 5.079 GB, free: 12.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/13.64, allocations: 83.95 kB / 5.079 GB, free: 12.29 MB / 1.01 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.002216/13.64, allocations: 0.6492 MB / 5.08 GB, free: 11.62 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009359/13.64, allocations: 233.1 kB / 5.08 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/13.65, allocations: 1.4 MB / 5.082 GB, free: 9.977 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/13.65, allocations: 12 kB / 5.082 GB, free: 9.965 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/13.65, allocations: 3.953 kB / 5.082 GB, free: 9.961 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001998/13.65, allocations: 1.058 MB / 5.083 GB, free: 8.887 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.01056/13.66, allocations: 3.777 MB / 5.086 GB, free: 4.953 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/13.66, allocations: 16.08 kB / 5.086 GB, free: 4.938 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/13.66, allocations: 179.7 kB / 5.086 GB, free: 4.762 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001509/13.66, allocations: 307.5 kB / 5.087 GB, free: 4.461 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/13.66, allocations: 31.98 kB / 5.087 GB, free: 4.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/13.66, allocations: 0.9269 MB / 5.088 GB, free: 3.477 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/13.66, allocations: 8.062 kB / 5.088 GB, free: 3.469 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/13.67, allocations: 2.577 MB / 5.09 GB, free: 0.6523 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/13.67, allocations: 441.9 kB / 5.091 GB, free: 204 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008103/13.67, allocations: 24 kB / 5.091 GB, free: 180 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002256/13.67, allocations: 99.83 kB / 5.091 GB, free: 80 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/13.67, allocations: 72.8 kB / 5.091 GB, free: 8 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.765/14.44, allocations: 47.42 kB / 5.091 GB, free: 123.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003552/14.44, allocations: 1.377 MB / 5.092 GB, free: 123.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.21e-07/14.44, allocations: 0 / 5.092 GB, free: 123.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.007401/14.45, allocations: 1.402 MB / 5.094 GB, free: 123.6 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 0.01308/14.46, allocations: 8.139 MB / 5.102 GB, free: 119.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005421/14.47, allocations: 2.013 MB / 5.104 GB, free: 119.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/14.47, allocations: 1.188 kB / 5.104 GB, free: 119.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/14.47, allocations: 0.5512 MB / 5.104 GB, free: 119.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007852/14.48, allocations: 1.31 MB / 5.105 GB, free: 119.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/14.5, allocations: 16.8 MB / 5.122 GB, free: 106.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/14.5, allocations: 1.73 MB / 5.123 GB, free: 105.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00419/14.5, allocations: 0.5695 MB / 5.124 GB, free: 105.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/14.5, allocations: 0.9698 MB / 5.125 GB, free: 105.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.904e-06/14.5, allocations: 0 / 5.125 GB, free: 105.7 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2038/14.71, allocations: 110.8 MB / 5.233 GB, free: 102.6 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/14.71, allocations: 281.1 kB / 5.233 GB, free: 102.2 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.543/21.25, allocations: 0 / 5.233 GB, free: 102.2 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)