Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009448/0.0009448, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009667/0.0009667, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.589/1.589, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006239/0.0006241, allocations: 15.98 kB / 0.6243 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7158, allocations: 106.3 MB / 0.7281 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02684/0.7426, allocations: 26.29 MB / 0.7538 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.755, allocations: 7.313 MB / 0.7609 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.7567, allocations: 35.75 kB / 0.761 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.7578, allocations: 282 kB / 0.7612 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.7606, allocations: 0.8044 MB / 0.762 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.7631, allocations: 0.7582 MB / 0.7628 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005492/0.7686, allocations: 5.214 MB / 0.7679 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.7713, allocations: 1.611 MB / 0.7694 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/0.7746, allocations: 1.299 MB / 0.7707 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.7765, allocations: 1.225 MB / 0.7719 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.7767, allocations: 76 kB / 0.772 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/0.7793, allocations: 0.9788 MB / 0.7729 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.7797, allocations: 358.5 kB / 0.7733 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006663/0.7804, allocations: 416.8 kB / 0.7737 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.7835, allocations: 2.794 MB / 0.7764 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7835, allocations: 0 / 0.7764 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.947e-06/0.7835, allocations: 4 kB / 0.7764 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.779e-05/0.7836, allocations: 0 / 0.7764 GB, free: 9.867 MB / 0.5919 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.004397/0.788, allocations: 2.144 MB / 0.7785 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.788, allocations: 8.031 kB / 0.7785 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007373/0.7888, allocations: 229.5 kB / 0.7787 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.7916, allocations: 1.683 MB / 0.7804 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.974e-05/0.7917, allocations: 114.7 kB / 0.7805 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.7919, allocations: 155.9 kB / 0.7806 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.7951, allocations: 1.97 MB / 0.7825 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.7952, allocations: 8 kB / 0.7825 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.7953, allocations: 52 kB / 0.7826 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/0.7954, allocations: 43.98 kB / 0.7826 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/0.7981, allocations: 1.79 MB / 0.7844 GB, free: 1.496 MB / 0.5919 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.01077/0.8089, allocations: 7.598 MB / 0.7918 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.8107, allocations: 1.44 MB / 0.7932 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008502/0.8116, allocations: 0.6601 MB / 0.7939 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005743/0.8173, allocations: 3.828 MB / 0.7976 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.8174, allocations: 43.56 kB / 0.7976 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 3.336e-06/0.8174, allocations: 0 / 0.7976 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.002336/0.8197, allocations: 1.506 MB / 0.7991 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.8198, allocations: 60.41 kB / 0.7992 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002017/0.8218, allocations: 1.581 MB / 0.8007 GB, free: 92 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/0.8219, allocations: 49.7 kB / 0.8008 GB, free: 36 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/0.8226, allocations: 0.7457 MB / 0.8015 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.823, allocations: 315.5 kB / 0.8018 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.8231, allocations: 31.94 kB / 0.8018 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.8233, allocations: 361.9 kB / 0.8022 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.8243, allocations: 0.6792 MB / 0.8028 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.8256, allocations: 1.016 MB / 0.8038 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.8268, allocations: 0.8689 MB / 0.8047 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8268, allocations: 0 / 0.8047 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003099/0.83, allocations: 1.936 MB / 0.8066 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003294/0.8303, allocations: 357.1 kB / 0.8069 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.8303, allocations: 12 kB / 0.8069 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/0.8304, allocations: 16 kB / 0.8069 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.8316, allocations: 339.4 kB / 0.8072 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/0.8317, allocations: 23.92 kB / 0.8073 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.833, allocations: 218 kB / 0.8075 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.8332, allocations: 63.98 kB / 0.8075 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.8332, allocations: 4 kB / 0.8075 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002599/0.8358, allocations: 1.784 MB / 0.8093 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.8358, allocations: 11.98 kB / 0.8093 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.8358, allocations: 16 kB / 0.8093 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.8371, allocations: 327.5 kB / 0.8096 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.8371, allocations: 23.92 kB / 0.8096 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.8384, allocations: 186.6 kB / 0.8098 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.8385, allocations: 63.98 kB / 0.8099 GB, free: 6.398 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001312/0.8398, allocations: 0.7463 MB / 0.8106 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/0.8402, allocations: 150.1 kB / 0.8108 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.8422, allocations: 1.28 MB / 0.812 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.8423, allocations: 15.98 kB / 0.812 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.8423, allocations: 0 / 0.812 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001508/0.8438, allocations: 1.273 MB / 0.8133 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004818/0.8486, allocations: 2.919 MB / 0.8161 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8487, allocations: 0 / 0.8161 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.8494, allocations: 187.8 kB / 0.8163 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.8495, allocations: 4 kB / 0.8163 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/0.8495, allocations: 23.98 kB / 0.8163 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.8495, allocations: 4 kB / 0.8163 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8496, allocations: 4.125 kB / 0.8163 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.8521, allocations: 1.905 MB / 0.8182 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/0.8529, allocations: 422.7 kB / 0.8186 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.8531, allocations: 27.98 kB / 0.8186 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007582/0.8539, allocations: 78.64 kB / 0.8187 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.854, allocations: 52.94 kB / 0.8187 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.8541, allocations: 35.97 kB / 0.8188 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001662/0.8558, allocations: 1.175 MB / 0.8199 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.8558, allocations: 0 / 0.8199 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002476/0.8582, allocations: 0.9045 MB / 0.8208 GB, free: 10.97 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000794/0.859, allocations: 363.2 kB / 0.8212 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003478/0.8625, allocations: 2.309 MB / 0.8234 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.8626, allocations: 4.125 kB / 0.8234 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.8633, allocations: 0.517 MB / 0.8239 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/0.867, allocations: 0.8654 MB / 0.8248 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00615/0.8732, allocations: 4.333 MB / 0.829 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.8745, allocations: 1.665 MB / 0.8306 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002803/0.8773, allocations: 0.9096 MB / 0.8315 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/0.8777, allocations: 135.4 kB / 0.8316 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of SimCode: time 1.132e-06/0.8777, allocations: 0 / 0.8316 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.05389/0.9316, allocations: 32.72 MB / 0.8636 GB, free: 15.55 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) Environment - environmentSimulation: