Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 87.84 kB / 15.06 MB, free: 1.082 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.001108/0.001108, allocations: 176.7 kB / 15.96 MB, free: 196 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.489/1.489, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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.000534/0.000534, allocations: 16.22 kB / 0.6738 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3019, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02631/0.3283, allocations: 26.28 MB / 0.8131 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.3398, allocations: 7.336 MB / 0.8202 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.3413, allocations: 27.81 kB / 0.8202 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3424, allocations: 282.1 kB / 0.8205 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/0.3452, allocations: 0.8004 MB / 0.8213 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.3481, allocations: 0.7768 MB / 0.8221 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006583/0.3547, allocations: 5.219 MB / 0.8272 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.3574, allocations: 1.62 MB / 0.8287 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.3605, allocations: 1.307 MB / 0.83 GB, free: 72 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.363, allocations: 1.221 MB / 0.8312 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.3632, allocations: 80 kB / 0.8313 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002719/0.3659, allocations: 0.9942 MB / 0.8323 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004182/0.3664, allocations: 354.5 kB / 0.8326 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007691/0.3672, allocations: 416.8 kB / 0.833 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003336/0.3705, allocations: 2.813 MB / 0.8357 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3705, allocations: 0 / 0.8357 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3705, allocations: 0 / 0.8357 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.173e-05/0.3706, allocations: 0 / 0.8357 GB, free: 10.19 MB / 0.6544 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.004705/0.3753, allocations: 2.144 MB / 0.8378 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3754, allocations: 12.03 kB / 0.8378 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004146/0.3758, allocations: 214.7 kB / 0.838 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/0.3766, allocations: 233.5 kB / 0.8383 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/0.3797, allocations: 1.7 MB / 0.8399 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.3799, allocations: 110.7 kB / 0.84 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.3802, allocations: 155.9 kB / 0.8402 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003822/0.384, allocations: 1.99 MB / 0.8421 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.384, allocations: 0 / 0.8421 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.3842, allocations: 60 kB / 0.8422 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.3843, allocations: 40 kB / 0.8422 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.3871, allocations: 1.79 MB / 0.844 GB, free: 1.566 MB / 0.6544 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.01236/0.3995, allocations: 7.613 MB / 0.8514 GB, free: 9.645 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.4015, allocations: 1.448 MB / 0.8528 GB, free: 8.172 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009506/0.4025, allocations: 0.6562 MB / 0.8535 GB, free: 7.512 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006695/0.4092, allocations: 3.847 MB / 0.8572 GB, free: 3.348 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.4093, allocations: 43.56 kB / 0.8573 GB, free: 3.297 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 4.969e-06/0.4093, allocations: 4 kB / 0.8573 GB, free: 3.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.002781/0.4121, allocations: 1.51 MB / 0.8587 GB, free: 1.781 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/0.4122, allocations: 60.41 kB / 0.8588 GB, free: 1.707 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/0.4147, allocations: 1.57 MB / 0.8603 GB, free: 128 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.4148, allocations: 49.7 kB / 0.8604 GB, free: 72 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006859/0.4155, allocations: 0.7457 MB / 0.8611 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.4159, allocations: 311.5 kB / 0.8614 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.4159, allocations: 28 kB / 0.8614 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4161, allocations: 369.8 kB / 0.8618 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.4172, allocations: 0.6831 MB / 0.8624 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.4185, allocations: 1.016 MB / 0.8634 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.4198, allocations: 0.8728 MB / 0.8643 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.4198, allocations: 0 / 0.8643 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003672/0.4235, allocations: 1.936 MB / 0.8662 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004173/0.424, allocations: 360.5 kB / 0.8665 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.424, allocations: 12 kB / 0.8665 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.024e-05/0.4241, allocations: 16 kB / 0.8666 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.4254, allocations: 335.5 kB / 0.8669 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.43e-05/0.4254, allocations: 23.92 kB / 0.8669 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.4272, allocations: 214 kB / 0.8671 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.4273, allocations: 67.94 kB / 0.8672 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4274, allocations: 6.969 kB / 0.8672 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003127/0.4305, allocations: 1.791 MB / 0.8689 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.4306, allocations: 8 kB / 0.8689 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.4307, allocations: 16 kB / 0.8689 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4318, allocations: 331.5 kB / 0.8693 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/0.4318, allocations: 23.92 kB / 0.8693 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.4333, allocations: 187.1 kB / 0.8695 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4334, allocations: 63.94 kB / 0.8695 GB, free: 6.418 MB / 0.6856 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.001475/0.4349, allocations: 0.7425 MB / 0.8702 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004476/0.4353, allocations: 154.2 kB / 0.8704 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.4378, allocations: 1.274 MB / 0.8716 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.4378, allocations: 12 kB / 0.8716 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4378, allocations: 3.938 kB / 0.8717 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001592/0.4394, allocations: 1.28 MB / 0.8729 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/0.4446, allocations: 2.931 MB / 0.8758 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.4446, allocations: 0 / 0.8758 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007971/0.4454, allocations: 187.9 kB / 0.8759 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.4455, allocations: 8 kB / 0.876 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.4455, allocations: 23.98 kB / 0.876 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.4456, allocations: 4 kB / 0.876 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4456, allocations: 0 / 0.876 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.449, allocations: 1.909 MB / 0.8778 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.4503, allocations: 426.8 kB / 0.8782 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/0.4506, allocations: 19.94 kB / 0.8783 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/0.4514, allocations: 78.95 kB / 0.8783 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/0.4515, allocations: 56.86 kB / 0.8784 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.064e-05/0.4516, allocations: 36.11 kB / 0.8784 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002149/0.4538, allocations: 1.175 MB / 0.8796 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4538, allocations: 0 / 0.8796 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002842/0.4566, allocations: 0.9084 MB / 0.8805 GB, free: 10.97 MB / 0.7012 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.003916/0.4605, allocations: 2.686 MB / 0.8831 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003815/0.4644, allocations: 2.314 MB / 0.8853 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.4644, allocations: 0 / 0.8853 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.4651, allocations: 0.517 MB / 0.8859 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/0.4692, allocations: 0.8656 MB / 0.8867 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02736/0.4966, allocations: 12.35 MB / 0.8988 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.4988, allocations: 1.661 MB / 0.9004 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003892/0.5027, allocations: 0.9235 MB / 0.9013 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/0.5041, allocations: 0.6086 MB / 0.9019 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of SimCode: time 1.303e-06/0.5041, allocations: 0 / 0.9019 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5663/1.07, allocations: 49.19 MB / 0.9499 GB, free: 118.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/1.071, allocations: 244.5 kB / 0.9501 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/3.988, allocations: 0 / 0.9501 GB, free: 118.3 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) Environment - environmentSimulation: