Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009994/0.0009996, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008059/0.008059, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 11.75 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3737, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02705/0.4008, allocations: 27.76 MB / 1.101 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.4133, allocations: 7.869 MB / 1.109 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4147, allocations: 31.81 kB / 1.109 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.4159, allocations: 326.1 kB / 1.109 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.4187, allocations: 0.9331 MB / 1.11 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.4214, allocations: 0.9455 MB / 1.111 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005979/0.4273, allocations: 6.084 MB / 1.117 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.4299, allocations: 1.794 MB / 1.119 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.4327, allocations: 1.326 MB / 1.12 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.4348, allocations: 1.299 MB / 1.121 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.435, allocations: 80 kB / 1.121 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.4377, allocations: 1.135 MB / 1.123 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.4381, allocations: 374.4 kB / 1.123 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.4395, allocations: 0.9733 MB / 1.124 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003995/0.4435, allocations: 3.474 MB / 1.127 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4435, allocations: 0 / 1.127 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4435, allocations: 0 / 1.127 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.082e-05/0.4436, allocations: 0 / 1.127 GB, free: 0.9531 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004408/0.448, allocations: 2.142 MB / 1.129 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.448, allocations: 12.03 kB / 1.129 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/0.4488, allocations: 230.5 kB / 1.13 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.4516, allocations: 1.763 MB / 1.131 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.4517, allocations: 122.6 kB / 1.131 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.452, allocations: 155.9 kB / 1.132 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/0.4551, allocations: 1.997 MB / 1.134 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/0.4552, allocations: 0 / 1.134 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.4553, allocations: 60 kB / 1.134 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.495e-05/0.4554, allocations: 43.98 kB / 1.134 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.4582, allocations: 1.802 MB / 1.135 GB, free: 8.453 MB / 0.8887 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.01227/0.4705, allocations: 7.617 MB / 1.143 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.4724, allocations: 1.452 MB / 1.144 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009062/0.4733, allocations: 0.6564 MB / 1.145 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006593/0.4799, allocations: 3.847 MB / 1.149 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.48, allocations: 43.56 kB / 1.149 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=88): time 2.555e-06/0.48, allocations: 0 / 1.149 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88): time 0.002514/0.4825, allocations: 1.517 MB / 1.15 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.4826, allocations: 64.41 kB / 1.15 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/0.4848, allocations: 1.602 MB / 1.152 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.4849, allocations: 49.7 kB / 1.152 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/0.4856, allocations: 0.7498 MB / 1.153 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.4859, allocations: 319.4 kB / 1.153 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.4861, allocations: 133.6 kB / 1.153 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4862, allocations: 365.9 kB / 1.153 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009991/0.4872, allocations: 0.6831 MB / 1.154 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.4884, allocations: 1.024 MB / 1.155 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.4905, allocations: 1.624 MB / 1.157 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.4905, allocations: 7.938 kB / 1.157 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003057/0.4936, allocations: 1.943 MB / 1.158 GB, free: 15.79 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.4938, allocations: 361.6 kB / 1.159 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.4938, allocations: 8 kB / 1.159 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.928e-05/0.4939, allocations: 16 kB / 1.159 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.4951, allocations: 331.5 kB / 1.159 GB, free: 14.97 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.4951, allocations: 19.94 kB / 1.159 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.4965, allocations: 226 kB / 1.159 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.4966, allocations: 59.98 kB / 1.159 GB, free: 14.67 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.4966, allocations: 7.938 kB / 1.159 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002501/0.4991, allocations: 1.791 MB / 1.161 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4992, allocations: 12 kB / 1.161 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4992, allocations: 19.94 kB / 1.161 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.5003, allocations: 339.4 kB / 1.162 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.5004, allocations: 19.94 kB / 1.162 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.5017, allocations: 187 kB / 1.162 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.5018, allocations: 55.98 kB / 1.162 GB, free: 12.25 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001178/0.503, allocations: 0.7503 MB / 1.163 GB, free: 11.48 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.5033, allocations: 158.1 kB / 1.163 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.5053, allocations: 1.273 MB / 1.164 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.5053, allocations: 8 kB / 1.164 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5053, allocations: 4 kB / 1.164 GB, free: 10.03 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/0.5067, allocations: 1.288 MB / 1.165 GB, free: 8.652 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/0.5112, allocations: 2.935 MB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5112, allocations: 3.938 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007538/0.512, allocations: 183.9 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.512, allocations: 12 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.512, allocations: 23.98 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.5121, allocations: 11.92 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5121, allocations: 0 / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.5146, allocations: 1.917 MB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008089/0.5155, allocations: 430.7 kB / 1.171 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.5157, allocations: 20 kB / 1.171 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008415/0.5165, allocations: 71.83 kB / 1.171 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5166, allocations: 60.8 kB / 1.171 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/0.5167, allocations: 36.17 kB / 1.171 GB, free: 2.836 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001729/0.5184, allocations: 1.21 MB / 1.172 GB, free: 1.629 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5184, allocations: 0 / 1.172 GB, free: 1.629 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002397/0.5208, allocations: 0.9084 MB / 1.173 GB, free: 0.7188 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].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 (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009071/0.5218, allocations: 372.8 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003468/0.5252, allocations: 2.316 MB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5253, allocations: 3.938 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006874/0.5259, allocations: 0.5226 MB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00437/0.5303, allocations: 0.8637 MB / 1.177 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006044/0.5364, allocations: 4.414 MB / 1.181 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.5377, allocations: 1.682 MB / 1.183 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002914/0.5406, allocations: 0.9194 MB / 1.184 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.541, allocations: 135.3 kB / 1.184 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of SimCode: time 1.173e-06/0.541, allocations: 0 / 1.184 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of Templates: time 0.05944/0.6005, allocations: 33.95 MB / 1.217 GB, free: 3.852 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)