Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004354/0.004354, allocations: 98.97 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 193.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002357/0.002357, allocations: 274.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 95.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3628, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05134/0.4141, allocations: 49.27 MB / 0.814 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.4327, allocations: 13.83 MB / 0.8275 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.4343, allocations: 67.62 kB / 0.8276 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.4362, allocations: 0.8031 MB / 0.8284 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004934/0.4411, allocations: 2.257 MB / 0.8306 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.444, allocations: 1.309 MB / 0.8319 GB, free: 104 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01954/0.4635, allocations: 19.59 MB / 0.851 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.4752, allocations: 9.91 MB / 0.8607 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.4864, allocations: 6.52 MB / 0.867 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00851/0.4949, allocations: 5.758 MB / 0.8727 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.4965, allocations: 0.8438 MB / 0.8735 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.5006, allocations: 1.6 MB / 0.875 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002223/0.5029, allocations: 2.123 MB / 0.8771 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005738/0.5086, allocations: 4.291 MB / 0.8813 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01323/0.5218, allocations: 12.12 MB / 0.8931 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5219, allocations: 4 kB / 0.8931 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5219, allocations: 0 / 0.8931 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000228/0.5221, allocations: 0 / 0.8931 GB, free: 1.109 MB / 0.6544 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.01383/0.536, allocations: 7.921 MB / 0.9009 GB, free: 9.098 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.536, allocations: 8.031 kB / 0.9009 GB, free: 9.09 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001097/0.5371, allocations: 0.7642 MB / 0.9016 GB, free: 8.316 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.5394, allocations: 0.8204 MB / 0.9024 GB, free: 7.492 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01027/0.5496, allocations: 6.349 MB / 0.9086 GB, free: 1.086 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.55, allocations: 419.2 kB / 0.909 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000861/0.5508, allocations: 0.5429 MB / 0.9096 GB, free: 136 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.5637, allocations: 8.072 MB / 0.9174 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.5638, allocations: 11.89 kB / 0.9175 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005282/0.5644, allocations: 232 kB / 0.9177 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.5646, allocations: 171.9 kB / 0.9178 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.5749, allocations: 6.528 MB / 0.9242 GB, free: 0.875 MB / 0.6856 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.03737/0.6123, allocations: 31.27 MB / 0.9548 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005468/0.6178, allocations: 3.646 MB / 0.9583 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003935/0.6218, allocations: 2.792 MB / 0.961 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.6228, allocations: 0.828 MB / 0.9619 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.273e-05/0.6229, allocations: 68.67 kB / 0.9619 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=267): time 4.157e-06/0.6229, allocations: 0 / 0.9619 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=267): time 0.01083/0.6337, allocations: 5.785 MB / 0.9676 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.6338, allocations: 81.52 kB / 0.9676 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2843/0.9182, allocations: 5.229 MB / 0.9728 GB, free: 185.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005402/0.9188, allocations: 80.89 kB / 0.9728 GB, free: 185.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001925/0.9207, allocations: 2.935 MB / 0.9757 GB, free: 184 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009581/0.9216, allocations: 0.9851 MB / 0.9767 GB, free: 183.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008929/0.9226, allocations: 0.7159 MB / 0.9774 GB, free: 183 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.294e-05/0.9226, allocations: 310 kB / 0.9777 GB, free: 182.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/0.9249, allocations: 1.674 MB / 0.9793 GB, free: 182.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002579/0.9275, allocations: 2.94 MB / 0.9822 GB, free: 180 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004304/0.9318, allocations: 4.963 MB / 0.987 GB, free: 176.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/0.9318, allocations: 10.88 kB / 0.987 GB, free: 176.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006551/0.9384, allocations: 5.462 MB / 0.9924 GB, free: 174.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.9384, allocations: 22.5 kB / 0.9924 GB, free: 174.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.9385, allocations: 45.31 kB / 0.9924 GB, free: 174.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007244/0.9392, allocations: 423.1 kB / 0.9928 GB, free: 174.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.9416, allocations: 0.8583 MB / 0.9937 GB, free: 174.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/0.9456, allocations: 5.696 MB / 0.9992 GB, free: 170.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/0.9487, allocations: 0.5331 MB / 0.9997 GB, free: 170.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.9489, allocations: 179.5 kB / 0.9999 GB, free: 170.2 MB / 0.7325 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002447/0.9514, allocations: 2.294 MB / 1.002 GB, free: 168.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/0.952, allocations: 0.4997 MB / 1.003 GB, free: 168.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004849/0.9569, allocations: 4.179 MB / 1.007 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.9569, allocations: 31.98 kB / 1.007 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.9569, allocations: 4.875 kB / 1.007 GB, free: 164 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003665/0.9606, allocations: 3.635 MB / 1.01 GB, free: 160.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.9717, allocations: 10.27 MB / 1.02 GB, free: 149.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.9717, allocations: 4 kB / 1.02 GB, free: 149.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.9735, allocations: 0.4991 MB / 1.021 GB, free: 149.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006379/0.9741, allocations: 381.1 kB / 1.021 GB, free: 149.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.9743, allocations: 75.66 kB / 1.021 GB, free: 149 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00377/0.9781, allocations: 5.662 MB / 1.027 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.9781, allocations: 4 kB / 1.027 GB, free: 143.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006602/0.9847, allocations: 6.271 MB / 1.033 GB, free: 136.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/0.9865, allocations: 1.116 MB / 1.034 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006097/0.9871, allocations: 59.98 kB / 1.034 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002302/0.9894, allocations: 176.2 kB / 1.034 GB, free: 135.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.9896, allocations: 173.6 kB / 1.034 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.9898, allocations: 131.9 kB / 1.035 GB, free: 135 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003876/0.9937, allocations: 3.839 MB / 1.038 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9937, allocations: 0 / 1.038 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003456/0.9972, allocations: 1.819 MB / 1.04 GB, free: 129.4 MB / 0.7325 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007174/1.004, allocations: 7.21 MB / 1.047 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004771/1.009, allocations: 4.282 MB / 1.051 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.009, allocations: 4 kB / 1.051 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/1.011, allocations: 2.042 MB / 1.053 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01162/1.023, allocations: 3.464 MB / 1.057 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04832/1.071, allocations: 47.13 MB / 1.103 GB, free: 63.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002617/1.074, allocations: 4.299 MB / 1.107 GB, free: 59.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004226/1.078, allocations: 1.864 MB / 1.109 GB, free: 57.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002478/1.081, allocations: 2.444 MB / 1.111 GB, free: 54.95 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/1.081, allocations: 3.938 kB / 1.111 GB, free: 54.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2193/1.3, allocations: 154.2 MB / 1.262 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/20.88, allocations: 11.38 kB / 1.262 GB, free: 14.03 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)