Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6109/0.6109, allocations: 94.69 MB / 107.2 MB, free: 5.184 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.001127/0.001128, allocations: 172.9 kB / 130.7 MB, free: 7.547 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.375/1.375, allocations: 170.5 MB / 324.5 MB, free: 4.004 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.001543/0.001543, allocations: 113.1 kB / 386.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.709e-05, allocations: 4 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4162, allocations: 61.51 MB / 0.5054 GB, free: 49.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.29/15.71, allocations: 5.582 GB / 6.088 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/15.71, allocations: 94.25 kB / 6.088 GB, free: 43.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.203/19.91, allocations: 0.9497 GB / 7.037 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.913e-06/19.91, allocations: 0 / 7.037 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001864/19.91, allocations: 59.45 kB / 7.038 GB, free: 40.78 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: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.008468/19.92, allocations: 2.722 MB / 7.04 GB, free: 39.47 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/19.92, allocations: 13.41 kB / 7.04 GB, free: 39.47 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/19.92, allocations: 271.6 kB / 7.04 GB, free: 39.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05704/19.98, allocations: 28.25 MB / 7.068 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.302e-05/19.98, allocations: 115.5 kB / 7.068 GB, free: 37.21 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/19.98, allocations: 143.8 kB / 7.068 GB, free: 37.21 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/19.98, allocations: 1.561 MB / 7.07 GB, free: 37.03 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/19.98, allocations: 3.125 kB / 7.07 GB, free: 37.03 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/19.98, allocations: 66.2 kB / 7.07 GB, free: 37.03 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.201e-05/19.98, allocations: 51.61 kB / 7.07 GB, free: 37.03 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/19.99, allocations: 1.312 MB / 7.071 GB, free: 37 MB / 0.5573 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.00902/20, allocations: 6.437 MB / 7.077 GB, free: 34.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/20, allocations: 0.8779 MB / 7.078 GB, free: 34.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006103/20, allocations: 446.1 kB / 7.079 GB, free: 34.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/20, allocations: 446.5 kB / 7.079 GB, free: 33.74 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/20, allocations: 49.91 kB / 7.079 GB, free: 33.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=81): time 3.266e-06/20, allocations: 0 / 7.079 GB, free: 33.7 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=91): time 0.01489/20.01, allocations: 4.005 MB / 7.083 GB, free: 32.76 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/20.01, allocations: 113.6 kB / 7.083 GB, free: 32.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/20.02, allocations: 1.404 MB / 7.085 GB, free: 32.46 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/20.02, allocations: 49.89 kB / 7.085 GB, free: 32.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/20.02, allocations: 0.8623 MB / 7.086 GB, free: 32.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/20.02, allocations: 318.5 kB / 7.086 GB, free: 31.92 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/20.02, allocations: 27.19 kB / 7.086 GB, free: 31.92 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/20.02, allocations: 350.3 kB / 7.086 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/20.02, allocations: 394 kB / 7.087 GB, free: 31.61 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/20.02, allocations: 0.707 MB / 7.087 GB, free: 31.26 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/20.02, allocations: 0.5206 MB / 7.088 GB, free: 31.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/20.02, allocations: 0 / 7.088 GB, free: 31.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002353/20.02, allocations: 1.433 MB / 7.089 GB, free: 30.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004901/20.02, allocations: 2.391 MB / 7.092 GB, free: 28.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/20.02, allocations: 6.031 kB / 7.092 GB, free: 28.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/20.02, allocations: 403.2 kB / 7.092 GB, free: 28.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/20.03, allocations: 266.5 kB / 7.092 GB, free: 28.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/20.03, allocations: 3.828 MB / 7.096 GB, free: 24.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/20.03, allocations: 136.8 kB / 7.096 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/20.03, allocations: 55.03 kB / 7.096 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/20.03, allocations: 5.625 kB / 7.096 GB, free: 24.89 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00245/20.03, allocations: 1.444 MB / 7.097 GB, free: 24.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/20.03, allocations: 5.906 kB / 7.097 GB, free: 24.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/20.03, allocations: 214.2 kB / 7.098 GB, free: 24.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009377/20.03, allocations: 230.7 kB / 7.098 GB, free: 24.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/20.04, allocations: 5.064 MB / 7.103 GB, free: 19.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/20.04, allocations: 135.3 kB / 7.103 GB, free: 19.97 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/20.04, allocations: 43.12 kB / 7.103 GB, free: 19.97 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 1 (hex.vol2.i_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 3 {1 3,1 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005097/20.04, allocations: 178.1 kB / 7.103 GB, free: 19.85 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006338/20.04, allocations: 175.2 kB / 7.103 GB, free: 19.76 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/20.04, allocations: 1.201 MB / 7.105 GB, free: 19.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/20.04, allocations: 10.59 kB / 7.105 GB, free: 19.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/20.04, allocations: 2.953 kB / 7.105 GB, free: 19.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/20.04, allocations: 6.609 kB / 7.105 GB, free: 19.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006096/20.05, allocations: 2.829 MB / 7.107 GB, free: 19.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/20.05, allocations: 0 / 7.107 GB, free: 19.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/20.05, allocations: 211.7 kB / 7.108 GB, free: 19.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/20.05, allocations: 416.5 kB / 7.108 GB, free: 19.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.664e-05/20.05, allocations: 28.53 kB / 7.108 GB, free: 19.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/20.05, allocations: 2.879 MB / 7.111 GB, free: 16.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/20.05, allocations: 0 / 7.111 GB, free: 16.37 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/20.06, allocations: 1.65 MB / 7.112 GB, free: 16.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/20.06, allocations: 395.8 kB / 7.113 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006024/20.06, allocations: 16.5 kB / 7.113 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/20.06, allocations: 112.3 kB / 7.113 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/20.06, allocations: 57.31 kB / 7.113 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/20.06, allocations: 48.98 kB / 7.113 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002455/20.06, allocations: 1.082 MB / 7.114 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.2e-07/20.06, allocations: 4 kB / 7.114 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006329/20.07, allocations: 1.312 MB / 7.115 GB, free: 15.63 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 78 * 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.005502/20.08, allocations: 2.019 MB / 7.117 GB, free: 14.96 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Thermal/HeatTransfer.mo:287:7-288:33:writable] Warning: Variable hex.mas.T has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.004822/20.08, allocations: 2.297 MB / 7.12 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/20.08, allocations: 0.75 kB / 7.12 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/20.08, allocations: 0.5194 MB / 7.12 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/20.09, allocations: 0.8794 MB / 7.121 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/20.09, allocations: 2.489 MB / 7.123 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/20.1, allocations: 1.437 MB / 7.125 GB, free: 28.64 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003813/20.1, allocations: 0.5531 MB / 7.125 GB, free: 28.56 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/20.1, allocations: 111 kB / 7.125 GB, free: 28.55 MB / 0.573 GB Notification: Performance of SimCode: time 1.402e-06/20.1, allocations: 0 / 7.125 GB, free: 28.55 MB / 0.573 GB Notification: Performance of Templates: time 0.5319/20.63, allocations: 65.02 MB / 7.189 GB, free: 57.6 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)