Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.582/0.582, allocations: 95.61 MB / 110.6 MB, free: 9.375 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001277/0.001278, allocations: 166 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.631/1.631, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002005/0.002005, allocations: 103.3 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003804, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 61.54 MB / 0.512 GB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.51/14.67, allocations: 5.577 GB / 6.089 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/14.67, allocations: 98.59 kB / 6.089 GB, free: 41.28 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.94/18.61, allocations: 0.9261 GB / 7.015 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.607e-06/18.61, allocations: 0 / 7.015 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001903/18.61, allocations: 60.19 kB / 7.016 GB, free: 45.22 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.01004/18.62, allocations: 2.829 MB / 7.018 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/18.62, allocations: 14.61 kB / 7.018 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/18.62, allocations: 241.5 kB / 7.019 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05851/18.68, allocations: 28.25 MB / 7.046 GB, free: 41.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.562e-05/18.68, allocations: 98.16 kB / 7.046 GB, free: 41.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/18.68, allocations: 133.7 kB / 7.046 GB, free: 41.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/18.68, allocations: 1.509 MB / 7.048 GB, free: 41.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/18.68, allocations: 3.625 kB / 7.048 GB, free: 41.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/18.68, allocations: 56.09 kB / 7.048 GB, free: 41.73 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/18.68, allocations: 53.89 kB / 7.048 GB, free: 41.73 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/18.68, allocations: 1.307 MB / 7.049 GB, free: 41.71 MB / 0.5573 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.008943/18.69, allocations: 6.04 MB / 7.055 GB, free: 39.03 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/18.69, allocations: 0.7853 MB / 7.056 GB, free: 38.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/18.69, allocations: 367 kB / 7.056 GB, free: 38.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/18.69, allocations: 44.53 kB / 7.056 GB, free: 38.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 4.118e-06/18.69, allocations: 0 / 7.056 GB, free: 38.57 MB / 0.5573 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: hex.vol2.dynBal.medium.Xi[1] 2: hex.vol2.dynBal.medium.T 3: hex.vol2.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=82): time 0.01877/18.71, allocations: 5.211 MB / 7.061 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/18.71, allocations: 114.3 kB / 7.061 GB, free: 37.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/18.71, allocations: 1.344 MB / 7.063 GB, free: 36.89 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/18.71, allocations: 50.98 kB / 7.063 GB, free: 36.86 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/18.71, allocations: 0.8099 MB / 7.064 GB, free: 36.57 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/18.71, allocations: 293 kB / 7.064 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/18.71, allocations: 23.3 kB / 7.064 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001021/18.71, allocations: 341.3 kB / 7.064 GB, free: 36.08 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007565/18.72, allocations: 412.2 kB / 7.065 GB, free: 36.08 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009345/18.72, allocations: 0.7104 MB / 7.065 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/18.72, allocations: 0.5031 MB / 7.066 GB, free: 35.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/18.72, allocations: 5.312 kB / 7.066 GB, free: 35.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00254/18.72, allocations: 1.374 MB / 7.067 GB, free: 35.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005417/18.72, allocations: 2.255 MB / 7.069 GB, free: 33.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/18.72, allocations: 7.781 kB / 7.069 GB, free: 33.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/18.72, allocations: 372.2 kB / 7.07 GB, free: 33.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/18.72, allocations: 261.2 kB / 7.07 GB, free: 33.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/18.73, allocations: 2.363 MB / 7.072 GB, free: 30.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/18.73, allocations: 127.9 kB / 7.072 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/18.73, allocations: 47.91 kB / 7.072 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/18.73, allocations: 2.094 kB / 7.072 GB, free: 30.95 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002441/18.73, allocations: 1.371 MB / 7.074 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/18.73, allocations: 11.53 kB / 7.074 GB, free: 30.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/18.73, allocations: 198 kB / 7.074 GB, free: 30.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/18.73, allocations: 214.6 kB / 7.074 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/18.73, allocations: 3.598 MB / 7.078 GB, free: 27.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/18.74, allocations: 124.6 kB / 7.078 GB, free: 27.42 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/18.74, allocations: 47.03 kB / 7.078 GB, free: 27.42 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001492/18.74, allocations: 474.1 kB / 7.078 GB, free: 27.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/18.74, allocations: 171.7 kB / 7.078 GB, free: 27.13 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/18.74, allocations: 1.204 MB / 7.08 GB, free: 26.99 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/18.74, allocations: 7.781 kB / 7.08 GB, free: 26.99 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/18.74, allocations: 7.844 kB / 7.08 GB, free: 26.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/18.74, allocations: 7.109 kB / 7.08 GB, free: 26.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/18.75, allocations: 2.559 MB / 7.082 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/18.75, allocations: 0 / 7.082 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/18.75, allocations: 202.6 kB / 7.082 GB, free: 26.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/18.75, allocations: 438.4 kB / 7.083 GB, free: 26.56 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/18.75, allocations: 15.69 kB / 7.083 GB, free: 26.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/18.75, allocations: 2.899 MB / 7.086 GB, free: 23.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/18.75, allocations: 3.938 kB / 7.086 GB, free: 23.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/18.75, allocations: 1.686 MB / 7.087 GB, free: 23.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/18.76, allocations: 369.6 kB / 7.088 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/18.76, allocations: 18.56 kB / 7.088 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/18.76, allocations: 116.9 kB / 7.088 GB, free: 23.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/18.76, allocations: 53.12 kB / 7.088 GB, free: 23.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/18.76, allocations: 48.08 kB / 7.088 GB, free: 23.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002033/18.76, allocations: 1.038 MB / 7.089 GB, free: 23.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/18.76, allocations: 0 / 7.089 GB, free: 23.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006023/18.77, allocations: 1.246 MB / 7.09 GB, free: 23.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.vol1.dynBal.medium.T,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * 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 (74): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 6,1 3,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004884/18.77, allocations: 1.982 MB / 7.092 GB, free: 22.53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004393/18.77, allocations: 1.894 MB / 7.094 GB, free: 22.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/18.77, allocations: 4.688 kB / 7.094 GB, free: 22.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/18.78, allocations: 0.5256 MB / 7.094 GB, free: 22.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/18.78, allocations: 0.8453 MB / 7.095 GB, free: 22.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/18.79, allocations: 3.603 MB / 7.099 GB, free: 20.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/18.79, allocations: 1.37 MB / 7.1 GB, free: 19.65 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00188/18.79, allocations: 425.6 kB / 7.1 GB, free: 19.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/18.79, allocations: 127.2 kB / 7.101 GB, free: 19.57 MB / 0.5573 GB Notification: Performance of SimCode: time 2.034e-06/18.79, allocations: 0 / 7.101 GB, free: 19.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.08607/18.87, allocations: 55.18 MB / 7.154 GB, free: 5.715 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)