Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8431/0.8431, allocations: 128.7 MB / 143.7 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 189.4 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 106.6 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 10.5 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1728, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.319, allocations: 370.1 MB / 0.9968 GB, free: 241.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/1.319, allocations: 100.1 kB / 0.9969 GB, free: 241.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.16/2.479, allocations: 399 MB / 1.387 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.09e-05/2.479, allocations: 0 / 1.387 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001882/2.479, allocations: 51.77 kB / 1.387 GB, free: 116.6 MB / 0.6511 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.005643/2.485, allocations: 2.214 MB / 1.389 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/2.485, allocations: 16.03 kB / 1.389 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004261/2.485, allocations: 222.6 kB / 1.389 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007644/2.486, allocations: 217.5 kB / 1.389 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/2.49, allocations: 2.289 MB / 1.391 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/2.49, allocations: 110.7 kB / 1.391 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/2.491, allocations: 152.8 kB / 1.392 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002899/2.494, allocations: 1.886 MB / 1.393 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/2.494, allocations: 7.844 kB / 1.393 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/2.494, allocations: 67.95 kB / 1.394 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/2.494, allocations: 36 kB / 1.394 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/2.496, allocations: 1.704 MB / 1.395 GB, free: 107.6 MB / 0.6511 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.01085/2.507, allocations: 7.569 MB / 1.403 GB, free: 99.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/2.509, allocations: 1.291 MB / 1.404 GB, free: 98.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005889/2.514, allocations: 3.691 MB / 1.408 GB, free: 94.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/2.515, allocations: 51.5 kB / 1.408 GB, free: 94.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=83): time 3.386e-06/2.515, allocations: 0 / 1.408 GB, free: 94.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=83): time 0.00239/2.517, allocations: 1.444 MB / 1.409 GB, free: 93.03 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/2.517, allocations: 60.41 kB / 1.409 GB, free: 92.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/2.519, allocations: 1.508 MB / 1.41 GB, free: 91.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.587e-05/2.519, allocations: 45.7 kB / 1.411 GB, free: 91.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000508/2.52, allocations: 0.7727 MB / 1.411 GB, free: 90.61 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/2.52, allocations: 306.1 kB / 1.412 GB, free: 90.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/2.52, allocations: 28 kB / 1.412 GB, free: 90.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000108/2.52, allocations: 357.9 kB / 1.412 GB, free: 89.94 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008629/2.521, allocations: 0.6675 MB / 1.413 GB, free: 89.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/2.522, allocations: 1.022 MB / 1.414 GB, free: 88.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/2.523, allocations: 0.865 MB / 1.414 GB, free: 87.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/2.523, allocations: 0 / 1.414 GB, free: 87.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002708/2.526, allocations: 1.928 MB / 1.416 GB, free: 85.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007368/2.526, allocations: 3.785 MB / 1.42 GB, free: 81.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/2.526, allocations: 11.94 kB / 1.42 GB, free: 81.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/2.527, allocations: 20 kB / 1.42 GB, free: 81.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/2.528, allocations: 351.5 kB / 1.42 GB, free: 80.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/2.528, allocations: 23.92 kB / 1.42 GB, free: 80.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/2.53, allocations: 225.9 kB / 1.421 GB, free: 80.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/2.53, allocations: 67.97 kB / 1.421 GB, free: 80.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/2.53, allocations: 7.938 kB / 1.421 GB, free: 80.56 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002202/2.532, allocations: 1.748 MB / 1.422 GB, free: 78.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/2.532, allocations: 12.97 kB / 1.422 GB, free: 78.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/2.532, allocations: 16 kB / 1.422 GB, free: 78.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/2.533, allocations: 355.4 kB / 1.423 GB, free: 78.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/2.533, allocations: 23.92 kB / 1.423 GB, free: 78.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/2.535, allocations: 186.5 kB / 1.423 GB, free: 78.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/2.535, allocations: 59.98 kB / 1.423 GB, free: 78.17 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.001226/2.536, allocations: 0.7425 MB / 1.424 GB, free: 77.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/2.536, allocations: 146.1 kB / 1.424 GB, free: 77.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/2.538, allocations: 1.209 MB / 1.425 GB, free: 76.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/2.538, allocations: 11.95 kB / 1.425 GB, free: 76.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/2.538, allocations: 0 / 1.425 GB, free: 76.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/2.539, allocations: 1.171 MB / 1.426 GB, free: 74.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/2.541, allocations: 1.434 MB / 1.428 GB, free: 73.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/2.541, allocations: 0 / 1.428 GB, free: 73.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007183/2.542, allocations: 167.8 kB / 1.428 GB, free: 73.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/2.542, allocations: 7.984 kB / 1.428 GB, free: 73.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/2.542, allocations: 20 kB / 1.428 GB, free: 73.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/2.542, allocations: 0 / 1.428 GB, free: 73.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/2.542, allocations: 11.89 kB / 1.428 GB, free: 73.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/2.544, allocations: 1.628 MB / 1.429 GB, free: 71.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00093/2.545, allocations: 406.9 kB / 1.43 GB, free: 71.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/2.545, allocations: 20 kB / 1.43 GB, free: 71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/2.546, allocations: 71.59 kB / 1.43 GB, free: 70.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/2.546, allocations: 48.59 kB / 1.43 GB, free: 70.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/2.546, allocations: 27.94 kB / 1.43 GB, free: 70.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001621/2.548, allocations: 1.281 MB / 1.431 GB, free: 69.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/2.548, allocations: 0 / 1.431 GB, free: 69.58 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00263/2.551, allocations: 0.9473 MB / 1.432 GB, free: 68.63 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (81): * Single equations (assignments): 81 * 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 Backend phase and start with SimCode phase: time 0.002957/2.553, allocations: 2.572 MB / 1.435 GB, free: 66.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003057/2.557, allocations: 2.237 MB / 1.437 GB, free: 63.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/2.557, allocations: 1.938 kB / 1.437 GB, free: 63.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000479/2.557, allocations: 475.3 kB / 1.437 GB, free: 63.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/2.561, allocations: 0.8355 MB / 1.438 GB, free: 62.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/2.572, allocations: 11.93 MB / 1.45 GB, free: 50.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/2.573, allocations: 1.688 MB / 1.451 GB, free: 48.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00319/2.577, allocations: 0.8938 MB / 1.452 GB, free: 47.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/2.578, allocations: 0.6164 MB / 1.453 GB, free: 47.13 MB / 0.6511 GB Notification: Performance of SimCode: time 1.373e-06/2.578, allocations: 0 / 1.453 GB, free: 47.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4566/3.035, allocations: 50.07 MB / 1.502 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/3.035, allocations: 243.4 kB / 1.502 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.757/6.792, allocations: 6.047 kB / 1.502 GB, free: 134.7 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)