Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.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.Examples.Stratified,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_Stratified",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 1.019/1.019, allocations: 128.7 MB / 143.7 MB, free: 2.348 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.001762/0.001762, allocations: 197.5 kB / 173.8 MB, free: 6.133 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.989/1.989, 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.00109/0.00109, allocations: 89.56 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 13.5 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.184, allocations: 76.77 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/1.486, allocations: 372.7 MB / 0.9994 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/1.486, allocations: 93.97 kB / 0.9994 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 10.9/12.39, allocations: 2.81 GB / 3.81 GB, free: 76.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.766e-06/12.39, allocations: 2.344 kB / 3.81 GB, free: 76.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.003407/12.39, allocations: 255.4 kB / 3.81 GB, free: 76.84 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.04343/12.43, allocations: 9.766 MB / 3.82 GB, free: 73.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/12.43, allocations: 7.25 kB / 3.82 GB, free: 73.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006536/12.44, allocations: 1.139 MB / 3.821 GB, free: 73.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008496/12.45, allocations: 1.152 MB / 3.822 GB, free: 72.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03324/12.48, allocations: 12.07 MB / 3.834 GB, free: 71.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008959/12.48, allocations: 0.6151 MB / 3.834 GB, free: 71.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004282/12.49, allocations: 0.8202 MB / 3.835 GB, free: 71.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/12.52, allocations: 11.59 MB / 3.846 GB, free: 70.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007015/12.52, allocations: 27.16 kB / 3.846 GB, free: 70.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003913/12.53, allocations: 351.5 kB / 3.847 GB, free: 70.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003324/12.53, allocations: 244.4 kB / 3.847 GB, free: 70.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0261/12.55, allocations: 9.678 MB / 3.857 GB, free: 70.39 MB / 0.698 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.09156/12.65, allocations: 46.42 MB / 3.902 GB, free: 50.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/12.66, allocations: 6.368 MB / 3.908 GB, free: 50.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/12.66, allocations: 0.8199 MB / 3.909 GB, free: 49.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008291/12.67, allocations: 3.353 MB / 3.912 GB, free: 49.52 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006457/12.67, allocations: 0.5426 MB / 3.913 GB, free: 49.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=452): time 3.417e-05/12.67, allocations: 1.75 kB / 3.913 GB, free: 49.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=452): time 0.02275/12.7, allocations: 9.126 MB / 3.922 GB, free: 48.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/12.7, allocations: 153.9 kB / 3.922 GB, free: 48.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01722/12.71, allocations: 6.896 MB / 3.928 GB, free: 47.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001427/12.72, allocations: 105.5 kB / 3.929 GB, free: 47.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.006583/12.72, allocations: 4.251 MB / 3.933 GB, free: 46.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003047/12.73, allocations: 1.57 MB / 3.934 GB, free: 45.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/12.73, allocations: 118.6 kB / 3.934 GB, free: 45.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0008091/12.73, allocations: 0.5438 MB / 3.935 GB, free: 44.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006069/12.73, allocations: 2.971 MB / 3.938 GB, free: 44.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007577/12.74, allocations: 4.923 MB / 3.943 GB, free: 42.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00751/12.75, allocations: 4.018 MB / 3.947 GB, free: 42.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/12.75, allocations: 19.56 kB / 3.947 GB, free: 42.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=757) (initialization): time 0.02241/12.77, allocations: 8.856 MB / 3.955 GB, free: 41.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.01344/12.79, allocations: 30.76 MB / 3.985 GB, free: 24.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003151/12.79, allocations: 64 kB / 3.985 GB, free: 24.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/12.79, allocations: 102.7 kB / 3.985 GB, free: 24.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007538/12.79, allocations: 1.459 MB / 3.987 GB, free: 24.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000273/12.79, allocations: 135 kB / 3.987 GB, free: 24.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/12.8, allocations: 0.5817 MB / 3.988 GB, free: 24.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00208/12.81, allocations: 288 kB / 3.988 GB, free: 24.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/12.81, allocations: 7.375 kB / 3.988 GB, free: 24.41 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02044/12.83, allocations: 8.214 MB / 3.996 GB, free: 21.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000317/12.83, allocations: 62.03 kB / 3.996 GB, free: 21.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/12.83, allocations: 100.1 kB / 3.996 GB, free: 21.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007034/12.84, allocations: 1.441 MB / 3.997 GB, free: 21.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002246/12.84, allocations: 138.9 kB / 3.998 GB, free: 21.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/12.85, allocations: 0.5452 MB / 3.998 GB, free: 21.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/12.85, allocations: 288.1 kB / 3.998 GB, free: 21.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 745 * Array equations: 0 * Algorithm blocks: 2 * 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.01065/12.86, allocations: 3.554 MB / 4.002 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003787/12.86, allocations: 0.6932 MB / 4.002 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01909/12.88, allocations: 7.145 MB / 4.009 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.457e-05/12.88, allocations: 40.22 kB / 4.009 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.671e-05/12.88, allocations: 2.562 kB / 4.009 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0123/12.89, allocations: 5.845 MB / 4.015 GB, free: 14.24 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.05163/12.95, allocations: 16.06 MB / 4.031 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/12.95, allocations: 0 / 4.031 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005129/12.95, allocations: 0.8963 MB / 4.032 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.857e-05/12.95, allocations: 20 kB / 4.032 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/12.95, allocations: 121.2 kB / 4.032 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.575e-05/12.95, allocations: 12 kB / 4.032 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/12.95, allocations: 4 kB / 4.032 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5605/13.51, allocations: 11.03 MB / 4.043 GB, free: 83.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009513/13.52, allocations: 1.662 MB / 4.044 GB, free: 83.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003259/13.53, allocations: 94.14 kB / 4.044 GB, free: 83.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008097/13.53, allocations: 0.5394 MB / 4.045 GB, free: 83.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/13.53, allocations: 255.8 kB / 4.045 GB, free: 83.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006365/13.54, allocations: 159.1 kB / 4.045 GB, free: 83.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01427/13.55, allocations: 5.402 MB / 4.051 GB, free: 83.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.7e-07/13.55, allocations: 4.156 kB / 4.051 GB, free: 83.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.02412/13.57, allocations: 4.812 MB / 4.055 GB, free: 83.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (448): * Single equations (assignments): 444 * Array equations: 0 * Algorithm blocks: 2 * 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.02772/13.6, allocations: 11.95 MB / 4.067 GB, free: 81.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02046/13.62, allocations: 11.43 MB / 4.078 GB, free: 81.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/13.62, allocations: 3.125 kB / 4.078 GB, free: 81.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.005622/13.63, allocations: 3.209 MB / 4.081 GB, free: 81.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02334/13.65, allocations: 4.328 MB / 4.085 GB, free: 81.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2394/13.89, allocations: 116.4 MB / 4.199 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007738/13.9, allocations: 6.237 MB / 4.205 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01548/13.91, allocations: 4.306 MB / 4.209 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009779/13.92, allocations: 3.718 MB / 4.213 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/13.92, allocations: 0 / 4.213 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9023/14.83, allocations: 231.8 MB / 4.44 GB, free: 80.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/14.83, allocations: 218.4 kB / 4.44 GB, free: 80.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/25.29, allocations: 2.625 kB / 4.44 GB, free: 80.16 MB / 0.7448 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_Stratified_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_Stratified.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified.pipe 2>&1)