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.7202/0.7202, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001504, allocations: 184.9 kB / 169.7 MB, free: 1.734 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.758/1.758, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.001123/0.001123, allocations: 109.7 kB / 481.8 MB, free: 4.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.943e-05, allocations: 0 / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1607, allocations: 76.76 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.293, allocations: 370 MB / 0.9896 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/1.293, allocations: 103.9 kB / 0.9896 GB, free: 164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.105/2.398, allocations: 397.8 MB / 1.378 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.82e-07/2.398, allocations: 0 / 1.378 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001597/2.398, allocations: 47.92 kB / 1.378 GB, free: 11.89 MB / 0.6355 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.00379/2.402, allocations: 1.916 MB / 1.38 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/2.402, allocations: 15.97 kB / 1.38 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002547/2.402, allocations: 210.7 kB / 1.38 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006981/2.403, allocations: 221.5 kB / 1.38 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003897/2.407, allocations: 2.279 MB / 1.383 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/2.407, allocations: 114.7 kB / 1.383 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/2.407, allocations: 152.5 kB / 1.383 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/2.41, allocations: 1.853 MB / 1.385 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/2.41, allocations: 11.84 kB / 1.385 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/2.41, allocations: 56 kB / 1.385 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/2.41, allocations: 36 kB / 1.385 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/2.412, allocations: 1.681 MB / 1.387 GB, free: 3.176 MB / 0.6355 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.4268/2.839, allocations: 7.566 MB / 1.394 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/2.841, allocations: 1.272 MB / 1.395 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/2.842, allocations: 0.6068 MB / 1.396 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006371/2.848, allocations: 3.777 MB / 1.399 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/2.848, allocations: 45.67 kB / 1.399 GB, free: 111 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 2.886e-06/2.848, allocations: 0 / 1.399 GB, free: 111 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83): time 0.001877/2.85, allocations: 1.039 MB / 1.4 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/2.85, allocations: 65.09 kB / 1.401 GB, free: 110.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/2.852, allocations: 1.488 MB / 1.402 GB, free: 110.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/2.852, allocations: 43.05 kB / 1.402 GB, free: 110.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/2.853, allocations: 0.7763 MB / 1.403 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002549/2.853, allocations: 302.7 kB / 1.403 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/2.853, allocations: 25.81 kB / 1.403 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001183/2.854, allocations: 366.6 kB / 1.403 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009786/2.855, allocations: 0.6555 MB / 1.404 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/2.856, allocations: 1.006 MB / 1.405 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/2.857, allocations: 0.8548 MB / 1.406 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/2.857, allocations: 1.594 kB / 1.406 GB, free: 109.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00357/2.861, allocations: 1.896 MB / 1.408 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009692/2.862, allocations: 3.792 MB / 1.411 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/2.862, allocations: 9.812 kB / 1.411 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.574e-05/2.862, allocations: 17.56 kB / 1.411 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/2.863, allocations: 354.8 kB / 1.412 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.273e-05/2.863, allocations: 24.41 kB / 1.412 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/2.865, allocations: 229.1 kB / 1.412 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/2.865, allocations: 66.11 kB / 1.412 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/2.865, allocations: 3.906 kB / 1.412 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002983/2.868, allocations: 1.743 MB / 1.414 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/2.868, allocations: 9.906 kB / 1.414 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/2.868, allocations: 22.92 kB / 1.414 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/2.87, allocations: 345.5 kB / 1.414 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-05/2.87, allocations: 25.89 kB / 1.414 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/2.871, allocations: 187.4 kB / 1.414 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/2.871, allocations: 63.41 kB / 1.414 GB, free: 105.4 MB / 0.6355 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.0003027/2.872, allocations: 183.1 kB / 1.415 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005075/2.872, allocations: 147.8 kB / 1.415 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/2.874, allocations: 1.185 MB / 1.416 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/2.875, allocations: 14.94 kB / 1.416 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/2.875, allocations: 2.156 kB / 1.416 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/2.876, allocations: 1.165 MB / 1.417 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/2.879, allocations: 1.429 MB / 1.418 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/2.879, allocations: 0 / 1.418 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/2.88, allocations: 167.7 kB / 1.419 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/2.88, allocations: 5.094 kB / 1.419 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/2.88, allocations: 20.2 kB / 1.419 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/2.88, allocations: 4.156 kB / 1.419 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/2.88, allocations: 4.516 kB / 1.419 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/2.883, allocations: 1.622 MB / 1.42 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009606/2.884, allocations: 416 kB / 1.421 GB, free: 104 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004179/2.884, allocations: 18.12 kB / 1.421 GB, free: 104 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/2.885, allocations: 65.84 kB / 1.421 GB, free: 104 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/2.886, allocations: 53.94 kB / 1.421 GB, free: 104 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/2.886, allocations: 23.44 kB / 1.421 GB, free: 104 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002342/2.888, allocations: 1.263 MB / 1.422 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.01e-07/2.888, allocations: 0.5 kB / 1.422 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003677/2.892, allocations: 0.9393 MB / 1.423 GB, free: 103.9 MB / 0.6355 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.00369/2.895, allocations: 2.556 MB / 1.425 GB, free: 103.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00359/2.899, allocations: 2.259 MB / 1.428 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/2.899, allocations: 0 / 1.428 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005291/2.9, allocations: 467.1 kB / 1.428 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/2.904, allocations: 0.8357 MB / 1.429 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007332/2.911, allocations: 3.587 MB / 1.432 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/2.912, allocations: 1.695 MB / 1.434 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003686/2.916, allocations: 1.261 MB / 1.435 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009063/2.917, allocations: 0.5895 MB / 1.436 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/2.917, allocations: 1.641 kB / 1.436 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.082/2.999, allocations: 52.56 MB / 1.487 GB, free: 99.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/2.999, allocations: 216.8 kB / 1.487 GB, free: 99.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.581/6.58, allocations: 0 / 1.487 GB, free: 99.48 MB / 0.6355 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)