Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.094/2.094, allocations: 390.3 MB / 402.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 168.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.3 MB / 0.7915 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009056/0.0009057, allocations: 99.94 kB / 0.9318 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.737e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2444, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.399, allocations: 417.4 MB / 1.626 GB, free: 1.113 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.399, allocations: 91.92 kB / 1.627 GB, free: 1.023 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 7.666/9.065, allocations: 2.137 GB / 3.763 GB, free: 152.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.723e-06/9.065, allocations: 3.938 kB / 3.763 GB, free: 152.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007424/9.066, allocations: 175.9 kB / 3.763 GB, free: 152 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01336/9.079, allocations: 5.525 MB / 3.769 GB, free: 146.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/9.079, allocations: 12.03 kB / 3.769 GB, free: 146.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001714/9.081, allocations: 0.7601 MB / 3.769 GB, free: 145.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003095/9.084, allocations: 0.7804 MB / 3.77 GB, free: 144.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/9.098, allocations: 7.486 MB / 3.777 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/9.098, allocations: 415 kB / 3.778 GB, free: 136.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/9.099, allocations: 0.5467 MB / 3.778 GB, free: 136.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/9.111, allocations: 7.398 MB / 3.786 GB, free: 128.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/9.111, allocations: 19.88 kB / 3.786 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006064/9.112, allocations: 236 kB / 3.786 GB, free: 128.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/9.112, allocations: 222.5 kB / 3.786 GB, free: 128.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009042/9.121, allocations: 5.847 MB / 3.792 GB, free: 122.3 MB / 1.167 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.03406/9.155, allocations: 29.69 MB / 3.821 GB, free: 91.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004383/9.16, allocations: 3.539 MB / 3.824 GB, free: 87.66 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003173/9.163, allocations: 2.981 MB / 3.827 GB, free: 84.67 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/9.164, allocations: 0.8241 MB / 3.828 GB, free: 83.68 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/9.164, allocations: 72.67 kB / 3.828 GB, free: 83.59 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 4.098e-06/9.164, allocations: 0 / 3.828 GB, free: 83.59 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.005561/9.169, allocations: 3.658 MB / 3.832 GB, free: 79.88 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/9.169, allocations: 77.52 kB / 3.832 GB, free: 79.79 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006697/9.176, allocations: 4.842 MB / 3.836 GB, free: 74.95 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006704/9.177, allocations: 81.7 kB / 3.837 GB, free: 74.86 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001866/9.179, allocations: 2.848 MB / 3.839 GB, free: 71.98 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/9.18, allocations: 0.9359 MB / 3.84 GB, free: 71.03 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/9.18, allocations: 76 kB / 3.84 GB, free: 70.96 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001565/9.18, allocations: 457.9 kB / 3.841 GB, free: 70.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/9.182, allocations: 1.608 MB / 3.842 GB, free: 68.89 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/9.184, allocations: 2.864 MB / 3.845 GB, free: 65.47 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/9.187, allocations: 2.235 MB / 3.847 GB, free: 63.21 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/9.187, allocations: 15.94 kB / 3.847 GB, free: 63.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007593/9.194, allocations: 5.297 MB / 3.852 GB, free: 57.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/9.194, allocations: 20 kB / 3.852 GB, free: 57.82 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/9.194, allocations: 40 kB / 3.853 GB, free: 57.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007958/9.195, allocations: 426.2 kB / 3.853 GB, free: 57.36 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/9.198, allocations: 0.8657 MB / 3.854 GB, free: 56.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/9.202, allocations: 5.306 MB / 3.859 GB, free: 50.92 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/9.207, allocations: 0.6625 MB / 3.86 GB, free: 50.25 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000513/9.208, allocations: 184 kB / 3.86 GB, free: 50.07 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008379/9.209, allocations: 347.7 kB / 3.86 GB, free: 49.73 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/9.21, allocations: 486.1 kB / 3.861 GB, free: 49.25 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/9.216, allocations: 4.072 MB / 3.865 GB, free: 45.11 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/9.216, allocations: 31.94 kB / 3.865 GB, free: 45.08 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/9.216, allocations: 8 kB / 3.865 GB, free: 45.07 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003803/9.22, allocations: 3.516 MB / 3.868 GB, free: 41.44 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/9.236, allocations: 10.21 MB / 3.878 GB, free: 31.05 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/9.236, allocations: 4 kB / 3.878 GB, free: 31.05 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/9.238, allocations: 0.5036 MB / 3.878 GB, free: 30.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007059/9.238, allocations: 373.3 kB / 3.879 GB, free: 30.18 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/9.238, allocations: 79.91 kB / 3.879 GB, free: 30.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004069/9.243, allocations: 5.232 MB / 3.884 GB, free: 24.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/9.243, allocations: 11.92 kB / 3.884 GB, free: 24.59 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008014/9.251, allocations: 6.761 MB / 3.891 GB, free: 17.54 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003972/9.255, allocations: 1.213 MB / 3.892 GB, free: 16.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/9.256, allocations: 55.98 kB / 3.892 GB, free: 16.25 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004467/9.261, allocations: 311.2 kB / 3.892 GB, free: 15.94 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003634/9.261, allocations: 173.7 kB / 3.892 GB, free: 15.77 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004193/9.261, allocations: 123.9 kB / 3.892 GB, free: 15.65 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.008347/9.27, allocations: 3.939 MB / 3.896 GB, free: 11.72 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.82e-07/9.27, allocations: 0 / 3.896 GB, free: 11.72 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007557/9.277, allocations: 1.855 MB / 3.898 GB, free: 9.863 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01108/9.288, allocations: 8.768 MB / 3.907 GB, free: 0.8633 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.6594/9.948, allocations: 4.143 MB / 3.911 GB, free: 228.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/9.948, allocations: 3.219 kB / 3.911 GB, free: 228.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003675/9.952, allocations: 1.988 MB / 3.913 GB, free: 228.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01764/9.969, allocations: 3.233 MB / 3.916 GB, free: 228.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/10, allocations: 12.52 MB / 3.928 GB, free: 226.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007852/10.01, allocations: 4.418 MB / 3.932 GB, free: 225.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00982/10.02, allocations: 1.854 MB / 3.934 GB, free: 225.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004947/10.03, allocations: 2.464 MB / 3.937 GB, free: 225.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.925e-06/10.03, allocations: 3.375 kB / 3.937 GB, free: 225.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2503/10.28, allocations: 166.2 MB / 4.099 GB, free: 201.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/10.28, allocations: 229.1 kB / 4.099 GB, free: 201.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/16.95, allocations: 3.719 kB / 4.099 GB, free: 201.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat does not exist to compare? outputFormat=mat