Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.00111, allocations: 182.3 kB / 371.6 MB, free: 3.332 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.612/1.612, allocations: 205.1 MB / 0.6309 GB, free: 11.8 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.0008818/0.0008815, allocations: 89.45 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.014e-05/5.016e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.281, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.865/7.147, allocations: 2.384 GB / 3.364 GB, free: 230.1 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/7.147, allocations: 101.8 kB / 3.364 GB, free: 230.1 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.367/13.51, allocations: 1.667 GB / 5.031 GB, free: 43.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.134e-06/13.51, allocations: 0 / 5.031 GB, free: 43.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003627/13.51, allocations: 63.98 kB / 5.031 GB, free: 43.74 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.01195/13.53, allocations: 2.848 MB / 5.034 GB, free: 40.84 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/13.53, allocations: 8.031 kB / 5.034 GB, free: 40.83 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006011/13.53, allocations: 0.6707 MB / 5.034 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007979/13.54, allocations: 2.765 MB / 5.037 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/13.54, allocations: 151.6 kB / 5.037 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/13.54, allocations: 192 kB / 5.037 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/13.55, allocations: 2.148 MB / 5.039 GB, free: 34.78 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/13.55, allocations: 3.938 kB / 5.039 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/13.55, allocations: 79.98 kB / 5.039 GB, free: 34.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-05/13.55, allocations: 78.8 kB / 5.039 GB, free: 34.62 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/13.55, allocations: 1.845 MB / 5.041 GB, free: 32.77 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.0129/13.56, allocations: 9.098 MB / 5.05 GB, free: 23.13 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/13.56, allocations: 0.9498 MB / 5.051 GB, free: 22.17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/13.56, allocations: 0.5663 MB / 5.052 GB, free: 21.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004014/13.57, allocations: 2.314 MB / 5.054 GB, free: 19.11 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/13.57, allocations: 47.56 kB / 5.054 GB, free: 19.05 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00141/13.57, allocations: 174.6 kB / 5.054 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=101): time 3.636e-06/13.57, allocations: 0 / 5.054 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.006429/13.58, allocations: 2.929 MB / 5.057 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/13.58, allocations: 60.41 kB / 5.057 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/13.58, allocations: 1.772 MB / 5.059 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/13.58, allocations: 49.7 kB / 5.059 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007746/13.58, allocations: 1.176 MB / 5.06 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/13.58, allocations: 374.8 kB / 5.06 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/13.58, allocations: 24 kB / 5.06 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001136/13.58, allocations: 361.9 kB / 5.061 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/13.58, allocations: 447.9 kB / 5.061 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008955/13.58, allocations: 1.025 MB / 5.062 GB, free: 10.29 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.0101/13.59, allocations: 2.285 MB / 5.064 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/13.59, allocations: 4 kB / 5.064 GB, free: 7.988 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004815/13.6, allocations: 1.862 MB / 5.066 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001906/13.6, allocations: 5.967 MB / 5.072 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/13.6, allocations: 16 kB / 5.072 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/13.6, allocations: 354 kB / 5.072 GB, free: 15.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/13.6, allocations: 287.5 kB / 5.073 GB, free: 14.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/13.6, allocations: 0.9785 MB / 5.074 GB, free: 13.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003407/13.61, allocations: 171.5 kB / 5.074 GB, free: 13.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/13.61, allocations: 75.97 kB / 5.074 GB, free: 13.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/13.61, allocations: 7.938 kB / 5.074 GB, free: 13.69 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004469/13.61, allocations: 1.622 MB / 5.075 GB, free: 12.06 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.135e-05/13.61, allocations: 12 kB / 5.075 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001527/13.61, allocations: 354.8 kB / 5.076 GB, free: 11.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/13.61, allocations: 291.5 kB / 5.076 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/13.62, allocations: 0.9606 MB / 5.077 GB, free: 10.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/13.62, allocations: 147.5 kB / 5.077 GB, free: 10.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002803/13.62, allocations: 75.97 kB / 5.077 GB, free: 10.21 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 () * 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.0006121/13.62, allocations: 212.8 kB / 5.077 GB, free: 10 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008441/13.62, allocations: 229.2 kB / 5.078 GB, free: 9.773 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/13.63, allocations: 1.509 MB / 5.079 GB, free: 8.246 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/13.63, allocations: 8 kB / 5.079 GB, free: 8.238 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/13.63, allocations: 0 / 5.079 GB, free: 8.238 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002746/13.63, allocations: 1.167 MB / 5.08 GB, free: 7.055 MB / 1.01 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.01105/13.64, allocations: 3.846 MB / 5.084 GB, free: 3.055 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/13.64, allocations: 4 kB / 5.084 GB, free: 3.051 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/13.64, allocations: 171.8 kB / 5.084 GB, free: 2.883 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/13.64, allocations: 321.4 kB / 5.084 GB, free: 2.566 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/13.64, allocations: 27.98 kB / 5.084 GB, free: 2.539 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/13.64, allocations: 0.9367 MB / 5.085 GB, free: 1.578 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/13.64, allocations: 15.88 kB / 5.085 GB, free: 1.562 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7907/14.43, allocations: 2.52 MB / 5.088 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/14.44, allocations: 438.1 kB / 5.088 GB, free: 106.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/14.44, allocations: 26.48 kB / 5.088 GB, free: 106.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/14.44, allocations: 98.72 kB / 5.088 GB, free: 106.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/14.44, allocations: 73.44 kB / 5.088 GB, free: 106.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/14.44, allocations: 48.16 kB / 5.089 GB, free: 106.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002627/14.44, allocations: 1.357 MB / 5.09 GB, free: 106.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.41e-07/14.44, allocations: 0 / 5.09 GB, free: 106.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006429/14.45, allocations: 1.402 MB / 5.091 GB, free: 106.5 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 () * 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.008143/14.45, allocations: 3.711 MB / 5.095 GB, free: 105.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005542/14.46, allocations: 2.044 MB / 5.097 GB, free: 105.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/14.46, allocations: 4.453 kB / 5.097 GB, free: 105.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001407/14.46, allocations: 0.5353 MB / 5.097 GB, free: 105.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008205/14.47, allocations: 1.316 MB / 5.099 GB, free: 105 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/14.48, allocations: 3.927 MB / 5.103 GB, free: 104.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/14.48, allocations: 1.733 MB / 5.104 GB, free: 103.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004609/14.49, allocations: 0.7904 MB / 5.105 GB, free: 103.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/14.49, allocations: 129.2 kB / 5.105 GB, free: 103.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.303e-06/14.49, allocations: 0 / 5.105 GB, free: 103.3 MB / 1.01 GB Notification: Performance of Templates: time 0.1559/14.64, allocations: 92.19 MB / 5.195 GB, free: 100.4 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)