Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.435/2.435, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 176.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 95.39 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.571e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7983/0.7983, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.271/2.07, allocations: 408.3 MB / 1.362 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/2.07, allocations: 99.44 kB / 1.362 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.001/4.071, allocations: 409.7 MB / 1.762 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.774e-06/4.072, allocations: 0 / 1.762 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003014/4.072, allocations: 52.97 kB / 1.762 GB, free: 210.8 MB / 0.9323 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.007572/4.079, allocations: 1.918 MB / 1.764 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/4.079, allocations: 11.75 kB / 1.764 GB, free: 209.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/4.081, allocations: 221.8 kB / 1.764 GB, free: 209.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007341/4.089, allocations: 2.075 MB / 1.767 GB, free: 207.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.244e-05/4.089, allocations: 44 kB / 1.767 GB, free: 207.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/4.089, allocations: 88 kB / 1.767 GB, free: 207.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004291/4.093, allocations: 1.576 MB / 1.768 GB, free: 205.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0043/4.098, allocations: 1.653 MB / 1.77 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.117e-05/4.098, allocations: 3.938 kB / 1.77 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/4.098, allocations: 7.953 kB / 1.77 GB, free: 204.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/4.098, allocations: 47.92 kB / 1.77 GB, free: 204.2 MB / 0.9323 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.01783/4.116, allocations: 7.226 MB / 1.777 GB, free: 196.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/4.119, allocations: 1.269 MB / 1.778 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/4.12, allocations: 0.5948 MB / 1.779 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01022/4.13, allocations: 3.743 MB / 1.782 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/4.13, allocations: 43.28 kB / 1.782 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 4.017e-06/4.13, allocations: 4 kB / 1.782 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.004103/4.135, allocations: 1.108 MB / 1.784 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/4.135, allocations: 60.19 kB / 1.784 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/4.137, allocations: 1.226 MB / 1.785 GB, free: 188.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003843/4.138, allocations: 25.7 kB / 1.785 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007576/4.139, allocations: 0.7638 MB / 1.786 GB, free: 187.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005219/4.139, allocations: 295.6 kB / 1.786 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/4.139, allocations: 0 / 1.786 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000135/4.139, allocations: 377.9 kB / 1.786 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/4.141, allocations: 0.6363 MB / 1.787 GB, free: 186.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/4.142, allocations: 0.9673 MB / 1.788 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004595/4.147, allocations: 1.181 MB / 1.789 GB, free: 184 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/4.147, allocations: 3.938 kB / 1.789 GB, free: 184 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.007379/4.155, allocations: 2.112 MB / 1.791 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007442/4.155, allocations: 3.493 MB / 1.794 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/4.155, allocations: 8 kB / 1.794 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.935e-05/4.156, allocations: 20 kB / 1.794 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/4.158, allocations: 347.5 kB / 1.795 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-05/4.158, allocations: 23.92 kB / 1.795 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/4.161, allocations: 174.2 kB / 1.795 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/4.161, allocations: 63.58 kB / 1.795 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/4.161, allocations: 4 kB / 1.795 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006585/4.168, allocations: 1.963 MB / 1.797 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/4.168, allocations: 8.188 kB / 1.797 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/4.168, allocations: 27.95 kB / 1.797 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/4.171, allocations: 347.5 kB / 1.797 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/4.171, allocations: 19.94 kB / 1.797 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/4.173, allocations: 146.7 kB / 1.797 GB, free: 175 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/4.173, allocations: 59.98 kB / 1.797 GB, free: 174.9 MB / 0.9323 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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.0003926/4.174, allocations: 140.4 kB / 1.798 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003533/4.177, allocations: 1.104 MB / 1.799 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/4.178, allocations: 134.4 kB / 1.799 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/4.181, allocations: 1.228 MB / 1.8 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/4.181, allocations: 8 kB / 1.8 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/4.181, allocations: 4 kB / 1.8 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002855/4.184, allocations: 1.31 MB / 1.801 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007433/4.192, allocations: 2.73 MB / 1.804 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/4.192, allocations: 0 / 1.804 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/4.193, allocations: 179.9 kB / 1.804 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/4.193, allocations: 8 kB / 1.804 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.539e-05/4.193, allocations: 19.92 kB / 1.804 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/4.193, allocations: 4 kB / 1.804 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/4.193, allocations: 0 / 1.804 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/4.198, allocations: 1.915 MB / 1.806 GB, free: 165.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/4.2, allocations: 383.2 kB / 1.806 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/4.2, allocations: 7.984 kB / 1.806 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/4.201, allocations: 47.8 kB / 1.806 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/4.202, allocations: 56.66 kB / 1.807 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/4.202, allocations: 31.98 kB / 1.807 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001885/4.204, allocations: 0.9412 MB / 1.807 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.575e-06/4.204, allocations: 0 / 1.807 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004546/4.208, allocations: 0.9505 MB / 1.808 GB, free: 163.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * 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.006112/4.214, allocations: 3.049 MB / 1.811 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004759/4.219, allocations: 2.204 MB / 1.814 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/4.219, allocations: 256 / 1.814 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009628/4.22, allocations: 498.6 kB / 1.814 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/4.225, allocations: 0.6147 MB / 1.815 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009545/4.235, allocations: 3.509 MB / 1.818 GB, free: 153.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/4.237, allocations: 1.693 MB / 1.82 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005897/4.242, allocations: 1.147 MB / 1.821 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/4.244, allocations: 0.5774 MB / 1.821 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.172e-06/4.244, allocations: 0 / 1.821 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/4.366, allocations: 42.08 MB / 1.862 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/4.367, allocations: 191.7 kB / 1.863 GB, free: 108 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/8.365, allocations: 4.031 kB / 1.863 GB, free: 108 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)