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.7274/0.7274, allocations: 127.4 MB / 134.9 MB, free: 3.488 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.001364/0.001364, allocations: 185.7 kB / 164.6 MB, free: 11.61 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.706/1.706, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.001071/0.001071, allocations: 92.31 kB / 476.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.874e-05, allocations: 2.781 kB / 0.5467 GB, free: 95.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.166, allocations: 76.76 MB / 0.6216 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8674/1.033, allocations: 369.3 MB / 0.9823 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.034, allocations: 101.9 kB / 0.9824 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.459/2.492, allocations: 395.7 MB / 1.369 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.294e-06/2.493, allocations: 0 / 1.369 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002204/2.493, allocations: 51.28 kB / 1.369 GB, free: 147.3 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.004516/2.497, allocations: 1.915 MB / 1.371 GB, free: 145.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/2.497, allocations: 16.02 kB / 1.371 GB, free: 145.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007848/2.498, allocations: 217.5 kB / 1.371 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/2.502, allocations: 2.278 MB / 1.373 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/2.502, allocations: 44.69 kB / 1.373 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/2.502, allocations: 95.91 kB / 1.373 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002122/2.504, allocations: 1.564 MB / 1.375 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/2.506, allocations: 1.617 MB / 1.376 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/2.507, allocations: 4 kB / 1.376 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/2.507, allocations: 7.203 kB / 1.376 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.484e-05/2.507, allocations: 39.98 kB / 1.376 GB, free: 139.5 MB / 0.6511 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.009074/2.516, allocations: 7.417 MB / 1.384 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/2.517, allocations: 1.226 MB / 1.385 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/2.518, allocations: 0.5705 MB / 1.385 GB, free: 130 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005054/2.523, allocations: 3.677 MB / 1.389 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/2.523, allocations: 40.75 kB / 1.389 GB, free: 126 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 3.637e-06/2.523, allocations: 0 / 1.389 GB, free: 126 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.002139/2.525, allocations: 1.081 MB / 1.39 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/2.525, allocations: 64.12 kB / 1.39 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/2.526, allocations: 1.233 MB / 1.391 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/2.526, allocations: 25.7 kB / 1.391 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/2.527, allocations: 0.7831 MB / 1.392 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/2.527, allocations: 286.9 kB / 1.392 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/2.527, allocations: 0 / 1.392 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000105/2.527, allocations: 357.9 kB / 1.393 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/2.528, allocations: 0.6363 MB / 1.393 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008746/2.529, allocations: 0.9742 MB / 1.394 GB, free: 120.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/2.531, allocations: 1.171 MB / 1.395 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/2.531, allocations: 0 / 1.395 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003803/2.535, allocations: 2.118 MB / 1.398 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/2.536, allocations: 3.747 MB / 1.401 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/2.536, allocations: 12 kB / 1.401 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.163e-05/2.536, allocations: 20 kB / 1.401 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/2.538, allocations: 355.4 kB / 1.402 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/2.538, allocations: 23.92 kB / 1.402 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/2.539, allocations: 178.2 kB / 1.402 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/2.539, allocations: 63.98 kB / 1.402 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/2.539, allocations: 4 kB / 1.402 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003397/2.543, allocations: 1.936 MB / 1.404 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/2.543, allocations: 8 kB / 1.404 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/2.543, allocations: 20 kB / 1.404 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/2.544, allocations: 347.5 kB / 1.404 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/2.544, allocations: 27.88 kB / 1.404 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/2.545, allocations: 134.7 kB / 1.404 GB, free: 110 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/2.545, allocations: 59.98 kB / 1.404 GB, free: 110 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 () * 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.0002338/2.545, allocations: 147.1 kB / 1.404 GB, free: 109.8 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001688/2.547, allocations: 1.053 MB / 1.405 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/2.547, allocations: 130.4 kB / 1.406 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/2.549, allocations: 1.141 MB / 1.407 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/2.549, allocations: 15.92 kB / 1.407 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/2.549, allocations: 4 kB / 1.407 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001426/2.551, allocations: 1.236 MB / 1.408 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/2.553, allocations: 1.213 MB / 1.409 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/2.553, allocations: 0 / 1.409 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/2.553, allocations: 175.7 kB / 1.409 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/2.553, allocations: 4 kB / 1.409 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/2.553, allocations: 8 kB / 1.409 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/2.553, allocations: 4 kB / 1.409 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/2.553, allocations: 7.953 kB / 1.409 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/2.556, allocations: 1.722 MB / 1.411 GB, free: 103 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008309/2.557, allocations: 379.1 kB / 1.411 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/2.557, allocations: 7.984 kB / 1.411 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006963/2.558, allocations: 35.95 kB / 1.411 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/2.558, allocations: 52.42 kB / 1.411 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/2.558, allocations: 27.98 kB / 1.411 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001419/2.559, allocations: 0.9453 MB / 1.412 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.5e-07/2.559, allocations: 0 / 1.412 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00367/2.563, allocations: 0.927 MB / 1.413 GB, free: 100.6 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 () * 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.003771/2.567, allocations: 2.645 MB / 1.416 GB, free: 97.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003408/2.57, allocations: 2.141 MB / 1.418 GB, free: 95.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/2.57, allocations: 4 kB / 1.418 GB, free: 95.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000507/2.571, allocations: 446.7 kB / 1.418 GB, free: 95.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/2.574, allocations: 0.6279 MB / 1.419 GB, free: 94.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008299/2.583, allocations: 3.437 MB / 1.422 GB, free: 91.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/2.584, allocations: 1.685 MB / 1.424 GB, free: 89.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00413/2.588, allocations: 1.14 MB / 1.425 GB, free: 88.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/2.589, allocations: 0.5735 MB / 1.426 GB, free: 87.97 MB / 0.6511 GB Notification: Performance of SimCode: time 3.016e-06/2.589, allocations: 0 / 1.426 GB, free: 87.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07835/2.668, allocations: 41.44 MB / 1.466 GB, free: 46.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/2.668, allocations: 201.1 kB / 1.466 GB, free: 46.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/5.901, allocations: 0 / 1.466 GB, free: 46.59 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)