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.645/1.645, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.1 MB / 0.572 GB, free: 10.68 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.001064/0.001064, allocations: 90.42 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.815e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.248, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.373/7.621, allocations: 2.5 GB / 3.392 GB, free: 151 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/7.621, allocations: 97.5 kB / 3.392 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.04/14.66, allocations: 1.62 GB / 5.012 GB, free: 93.43 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.679e-06/14.66, allocations: 0 / 5.012 GB, free: 93.43 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0009291/14.66, allocations: 67.91 kB / 5.012 GB, free: 93.42 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.01478/14.68, allocations: 2.864 MB / 5.015 GB, free: 92.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/14.68, allocations: 11.06 kB / 5.015 GB, free: 92.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001342/14.68, allocations: 266 kB / 5.015 GB, free: 92.25 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007148/14.69, allocations: 0.6692 MB / 5.016 GB, free: 92.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/14.7, allocations: 2.78 MB / 5.019 GB, free: 91.68 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002377/14.7, allocations: 144.1 kB / 5.019 GB, free: 91.67 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009344/14.7, allocations: 192.8 kB / 5.019 GB, free: 91.67 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006607/14.71, allocations: 2.177 MB / 5.021 GB, free: 91.46 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.728e-05/14.71, allocations: 3.094 kB / 5.021 GB, free: 91.46 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004581/14.71, allocations: 75.83 kB / 5.021 GB, free: 91.46 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-05/14.71, allocations: 78.89 kB / 5.021 GB, free: 91.46 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004209/14.71, allocations: 1.844 MB / 5.023 GB, free: 91.45 MB / 0.9323 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.01719/14.73, allocations: 9.123 MB / 5.032 GB, free: 87.59 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/14.73, allocations: 0.9319 MB / 5.033 GB, free: 87.55 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008753/14.73, allocations: 0.5587 MB / 5.033 GB, free: 87.53 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004952/14.74, allocations: 2.312 MB / 5.036 GB, free: 86.43 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/14.74, allocations: 51.05 kB / 5.036 GB, free: 86.39 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001975/14.74, allocations: 169 kB / 5.036 GB, free: 86.33 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=101): time 1.243e-05/14.74, allocations: 0 / 5.036 GB, free: 86.33 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.00818/14.75, allocations: 2.928 MB / 5.039 GB, free: 85.56 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/14.75, allocations: 65.22 kB / 5.039 GB, free: 85.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/14.75, allocations: 1.779 MB / 5.041 GB, free: 85.26 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003608/14.75, allocations: 51.52 kB / 5.041 GB, free: 85.23 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/14.75, allocations: 1.183 MB / 5.042 GB, free: 84.82 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/14.75, allocations: 367.2 kB / 5.042 GB, free: 84.59 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/14.75, allocations: 28.28 kB / 5.042 GB, free: 84.59 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001738/14.75, allocations: 361.8 kB / 5.042 GB, free: 84.29 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/14.75, allocations: 447.8 kB / 5.043 GB, free: 84.28 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/14.76, allocations: 1.02 MB / 5.044 GB, free: 83.59 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.01039/14.77, allocations: 2.263 MB / 5.046 GB, free: 83.46 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.443e-05/14.77, allocations: 5.219 kB / 5.046 GB, free: 83.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00594/14.77, allocations: 1.852 MB / 5.048 GB, free: 83.28 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001893/14.77, allocations: 5.964 MB / 5.054 GB, free: 76.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.042e-05/14.77, allocations: 12.97 kB / 5.054 GB, free: 76.96 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/14.78, allocations: 366.3 kB / 5.054 GB, free: 76.94 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/14.78, allocations: 284.9 kB / 5.054 GB, free: 76.94 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/14.78, allocations: 0.9743 MB / 5.055 GB, free: 76.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/14.78, allocations: 169.1 kB / 5.055 GB, free: 76.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/14.78, allocations: 73.02 kB / 5.056 GB, free: 76.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/14.78, allocations: 8.062 kB / 5.056 GB, free: 76.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003849/14.79, allocations: 1.611 MB / 5.057 GB, free: 76.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.632e-05/14.79, allocations: 14.5 kB / 5.057 GB, free: 76.36 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/14.79, allocations: 357.2 kB / 5.057 GB, free: 76.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/14.79, allocations: 286 kB / 5.058 GB, free: 76.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/14.79, allocations: 0.969 MB / 5.059 GB, free: 75.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/14.79, allocations: 150.1 kB / 5.059 GB, free: 75.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/14.79, allocations: 73.78 kB / 5.059 GB, free: 75.8 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 () * 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.0006203/14.79, allocations: 201.3 kB / 5.059 GB, free: 75.68 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/14.79, allocations: 238.3 kB / 5.059 GB, free: 75.56 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/14.8, allocations: 1.501 MB / 5.061 GB, free: 75.45 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/14.8, allocations: 15.55 kB / 5.061 GB, free: 75.45 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/14.8, allocations: 0 / 5.061 GB, free: 75.45 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002485/14.8, allocations: 1.159 MB / 5.062 GB, free: 75.34 MB / 0.9323 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.009781/14.81, allocations: 3.752 MB / 5.066 GB, free: 74.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/14.81, allocations: 7.406 kB / 5.066 GB, free: 74.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008754/14.81, allocations: 172.9 kB / 5.066 GB, free: 74.66 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/14.81, allocations: 324.1 kB / 5.066 GB, free: 74.64 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/14.81, allocations: 30.84 kB / 5.066 GB, free: 74.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/14.81, allocations: 0.9317 MB / 5.067 GB, free: 74.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/14.81, allocations: 11.08 kB / 5.067 GB, free: 74.11 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003958/14.82, allocations: 2.517 MB / 5.07 GB, free: 73.05 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00194/14.82, allocations: 453 kB / 5.07 GB, free: 72.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009914/14.82, allocations: 35.34 kB / 5.07 GB, free: 72.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/14.82, allocations: 102.1 kB / 5.07 GB, free: 72.82 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/14.82, allocations: 79 kB / 5.07 GB, free: 72.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/14.82, allocations: 48.97 kB / 5.07 GB, free: 72.82 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003426/14.83, allocations: 1.367 MB / 5.072 GB, free: 72.66 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-07/14.83, allocations: 0 / 5.072 GB, free: 72.66 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008591/14.84, allocations: 1.407 MB / 5.073 GB, free: 72.61 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 () * 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.01247/14.85, allocations: 8.095 MB / 5.081 GB, free: 68.23 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005422/14.85, allocations: 2.025 MB / 5.083 GB, free: 68.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/14.85, allocations: 2.781 kB / 5.083 GB, free: 68.18 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/14.86, allocations: 0.5406 MB / 5.083 GB, free: 68.18 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007789/14.86, allocations: 1.314 MB / 5.085 GB, free: 68.14 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/14.88, allocations: 4.514 MB / 5.089 GB, free: 67.04 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/14.88, allocations: 1.741 MB / 5.091 GB, free: 66.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004145/14.89, allocations: 0.7887 MB / 5.091 GB, free: 66.27 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/14.89, allocations: 0.942 MB / 5.092 GB, free: 66.26 MB / 0.9323 GB Notification: Performance of SimCode: time 1.242e-06/14.89, allocations: 0 / 5.092 GB, free: 66.26 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2068/15.09, allocations: 122.7 MB / 5.212 GB, free: 20.78 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/15.09, allocations: 246.3 kB / 5.212 GB, free: 20.45 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/21.77, allocations: 4 kB / 5.212 GB, free: 20.45 MB / 0.9323 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)