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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 249.5 MB / 257 MB, free: 6.926 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.001015/0.001015, allocations: 179.5 kB / 316.3 MB, free: 3.238 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.87/1.87, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001086/0.001086, allocations: 94.14 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.227e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2523, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.303/7.556, allocations: 2.5 GB / 3.385 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/7.556, allocations: 99.75 kB / 3.385 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.751/14.31, allocations: 1.604 GB / 4.989 GB, free: 97.13 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.402e-06/14.31, allocations: 0 / 4.989 GB, free: 97.13 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003339/14.31, allocations: 69.02 kB / 4.989 GB, free: 97.13 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.01107/14.32, allocations: 2.861 MB / 4.992 GB, free: 96.28 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/14.32, allocations: 6.531 kB / 4.992 GB, free: 96.28 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005523/14.32, allocations: 0.6683 MB / 4.993 GB, free: 96.12 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007522/14.33, allocations: 2.777 MB / 4.996 GB, free: 95.71 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/14.33, allocations: 64.75 kB / 4.996 GB, free: 95.71 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/14.33, allocations: 115.6 kB / 4.996 GB, free: 95.71 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003214/14.34, allocations: 1.678 MB / 4.997 GB, free: 95.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/14.34, allocations: 1.899 MB / 4.999 GB, free: 95.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/14.34, allocations: 9.188 kB / 4.999 GB, free: 95.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/14.34, allocations: 3.781 kB / 4.999 GB, free: 95.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.277e-05/14.34, allocations: 77.58 kB / 4.999 GB, free: 95.5 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.01397/14.35, allocations: 9.043 MB / 5.008 GB, free: 91.71 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/14.35, allocations: 0.946 MB / 5.009 GB, free: 91.68 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007078/14.35, allocations: 0.5655 MB / 5.01 GB, free: 91.67 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004039/14.36, allocations: 2.29 MB / 5.012 GB, free: 90.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/14.36, allocations: 47.36 kB / 5.012 GB, free: 90.56 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001571/14.36, allocations: 196 kB / 5.012 GB, free: 90.54 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=101): time 3.406e-06/14.36, allocations: 1.281 kB / 5.012 GB, free: 90.54 MB / 0.9323 GB Notification: Performance of matching and sorting (n=103): time 0.007606/14.37, allocations: 3.029 MB / 5.015 GB, free: 89.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/14.37, allocations: 62.28 kB / 5.015 GB, free: 89.73 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/14.37, allocations: 1.445 MB / 5.017 GB, free: 89.52 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/14.37, allocations: 28.61 kB / 5.017 GB, free: 89.49 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000815/14.37, allocations: 1.188 MB / 5.018 GB, free: 89.13 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/14.37, allocations: 350 kB / 5.018 GB, free: 88.96 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/14.37, allocations: 0 / 5.018 GB, free: 88.96 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/14.37, allocations: 363.3 kB / 5.018 GB, free: 88.65 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/14.37, allocations: 461.7 kB / 5.019 GB, free: 88.64 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000858/14.37, allocations: 1.025 MB / 5.02 GB, free: 87.94 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.0179/14.39, allocations: 3.189 MB / 5.023 GB, free: 87.83 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-05/14.39, allocations: 3.75 kB / 5.023 GB, free: 87.83 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004528/14.4, allocations: 1.807 MB / 5.025 GB, free: 87.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00118/14.4, allocations: 5.881 MB / 5.031 GB, free: 81.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/14.4, allocations: 14.03 kB / 5.031 GB, free: 81.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001494/14.4, allocations: 358.9 kB / 5.031 GB, free: 81.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/14.4, allocations: 293.6 kB / 5.031 GB, free: 81.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009764/14.4, allocations: 1.032 MB / 5.032 GB, free: 81.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/14.4, allocations: 133.6 kB / 5.032 GB, free: 81.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/14.4, allocations: 81.45 kB / 5.032 GB, free: 81.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/14.4, allocations: 2.844 kB / 5.032 GB, free: 81.02 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003274/14.41, allocations: 1.545 MB / 5.034 GB, free: 80.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/14.41, allocations: 14.25 kB / 5.034 GB, free: 80.99 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/14.41, allocations: 361.2 kB / 5.034 GB, free: 80.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/14.41, allocations: 295.4 kB / 5.035 GB, free: 80.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009401/14.41, allocations: 1.028 MB / 5.036 GB, free: 80.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/14.41, allocations: 105.4 kB / 5.036 GB, free: 80.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/14.41, allocations: 80.31 kB / 5.036 GB, free: 80.43 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 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004592/14.41, allocations: 156.3 kB / 5.036 GB, free: 80.32 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/14.41, allocations: 216.4 kB / 5.036 GB, free: 80.21 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/14.42, allocations: 1.475 MB / 5.038 GB, free: 80.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/14.42, allocations: 10.34 kB / 5.038 GB, free: 80.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/14.42, allocations: 2.5 kB / 5.038 GB, free: 80.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002202/14.42, allocations: 1.141 MB / 5.039 GB, free: 79.98 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.006212/14.43, allocations: 3.494 MB / 5.042 GB, free: 79.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/14.43, allocations: 6.75 kB / 5.042 GB, free: 79.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/14.43, allocations: 178.5 kB / 5.042 GB, free: 79.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/14.43, allocations: 320.8 kB / 5.043 GB, free: 79.32 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.699e-05/14.43, allocations: 19.55 kB / 5.043 GB, free: 79.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008781/14.43, allocations: 0.9526 MB / 5.043 GB, free: 78.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/14.43, allocations: 8.969 kB / 5.043 GB, free: 78.79 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/14.43, allocations: 2.459 MB / 5.046 GB, free: 77.73 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/14.43, allocations: 417 kB / 5.046 GB, free: 77.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/14.43, allocations: 11.3 kB / 5.046 GB, free: 77.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/14.43, allocations: 86.16 kB / 5.046 GB, free: 77.52 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/14.43, allocations: 84.95 kB / 5.046 GB, free: 77.51 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.571e-05/14.44, allocations: 45.88 kB / 5.047 GB, free: 77.51 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001711/14.44, allocations: 1.079 MB / 5.048 GB, free: 77.36 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.202e-06/14.44, allocations: 0 / 5.048 GB, free: 77.36 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004558/14.44, allocations: 1.257 MB / 5.049 GB, free: 77.31 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 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.005056/14.45, allocations: 3.876 MB / 5.053 GB, free: 75.83 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003844/14.45, allocations: 1.96 MB / 5.054 GB, free: 75.79 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/14.45, allocations: 0 / 5.054 GB, free: 75.79 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008367/14.45, allocations: 0.5116 MB / 5.055 GB, free: 75.78 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00601/14.46, allocations: 1.111 MB / 5.056 GB, free: 75.76 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008079/14.47, allocations: 3.854 MB / 5.06 GB, free: 74.76 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/14.47, allocations: 1.737 MB / 5.062 GB, free: 74.03 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00355/14.47, allocations: 0.7291 MB / 5.062 GB, free: 74.01 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/14.47, allocations: 131.2 kB / 5.062 GB, free: 74 MB / 0.9323 GB Notification: Performance of SimCode: time 7.31e-07/14.47, allocations: 3.219 kB / 5.062 GB, free: 74 MB / 0.9323 GB Notification: Performance of Templates: time 0.09004/14.56, allocations: 61.72 MB / 5.123 GB, free: 70.75 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches