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.005509/0.005509, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001473/0.001473, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002434, allocations: 299.1 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.177/1.177, allocations: 178.6 MB / 0.5074 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 103.8 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3589, allocations: 89.12 MB / 0.7813 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.0514/0.4103, allocations: 49.28 MB / 0.8295 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.43, allocations: 13.83 MB / 0.843 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.4321, allocations: 67.62 kB / 0.843 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.4341, allocations: 0.8109 MB / 0.8438 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005429/0.4395, allocations: 2.25 MB / 0.846 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.4424, allocations: 1.315 MB / 0.8473 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01959/0.462, allocations: 19.59 MB / 0.8664 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.474, allocations: 9.898 MB / 0.8761 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01187/0.4859, allocations: 6.515 MB / 0.8825 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009049/0.4949, allocations: 5.758 MB / 0.8881 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002052/0.497, allocations: 0.8476 MB / 0.8889 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004895/0.5019, allocations: 1.6 MB / 0.8905 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002329/0.5043, allocations: 2.131 MB / 0.8926 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006185/0.5105, allocations: 4.287 MB / 0.8967 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.5238, allocations: 12.1 MB / 0.9086 GB, free: 6.012 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5239, allocations: 4 kB / 0.9086 GB, free: 6.008 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5239, allocations: 0 / 0.9086 GB, free: 6.008 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002189/0.5241, allocations: 0 / 0.9086 GB, free: 6.008 MB / 0.67 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.0136/0.5377, allocations: 7.921 MB / 0.9163 GB, free: 14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5378, allocations: 8.031 kB / 0.9163 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001041/0.5388, allocations: 0.7681 MB / 0.9171 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.5411, allocations: 0.8204 MB / 0.9179 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.5512, allocations: 6.344 MB / 0.9241 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.5516, allocations: 419 kB / 0.9245 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008994/0.5525, allocations: 0.5429 MB / 0.925 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.5664, allocations: 8.061 MB / 0.9329 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.5666, allocations: 27.81 kB / 0.9329 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006014/0.5672, allocations: 236 kB / 0.9331 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.5674, allocations: 159.9 kB / 0.9333 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.5784, allocations: 6.528 MB / 0.9396 GB, free: 5.777 MB / 0.7012 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.03804/0.6165, allocations: 31.27 MB / 0.9702 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005374/0.6219, allocations: 3.655 MB / 0.9737 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/0.6258, allocations: 2.8 MB / 0.9765 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009831/0.6268, allocations: 0.828 MB / 0.9773 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/0.6269, allocations: 68.66 kB / 0.9774 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=267): time 4.558e-06/0.6269, allocations: 4 kB / 0.9774 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=267): time 0.0107/0.6376, allocations: 5.781 MB / 0.983 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.6377, allocations: 85.52 kB / 0.9831 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007535/0.6452, allocations: 5.224 MB / 0.9882 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.00039/0.6456, allocations: 81.7 kB / 0.9883 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.2908/0.9365, allocations: 2.937 MB / 0.9911 GB, free: 183.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.9377, allocations: 0.9798 MB / 0.9921 GB, free: 183.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001039/0.9387, allocations: 0.7176 MB / 0.9928 GB, free: 183.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.9387, allocations: 306.5 kB / 0.9931 GB, free: 183 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002536/0.9413, allocations: 1.673 MB / 0.9947 GB, free: 182.9 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/0.9442, allocations: 2.935 MB / 0.9976 GB, free: 181 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006015/0.9503, allocations: 4.968 MB / 1.002 GB, free: 178 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-05/0.9503, allocations: 11.91 kB / 1.002 GB, free: 178 MB / 0.7481 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008635/0.959, allocations: 5.467 MB / 1.008 GB, free: 175.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.959, allocations: 22.75 kB / 1.008 GB, free: 175.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.357e-05/0.9591, allocations: 41.09 kB / 1.008 GB, free: 175.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009112/0.96, allocations: 428.1 kB / 1.008 GB, free: 175.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/0.9628, allocations: 0.8537 MB / 1.009 GB, free: 175.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/0.9672, allocations: 5.693 MB / 1.015 GB, free: 171.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003498/0.9707, allocations: 0.5356 MB / 1.015 GB, free: 171.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.971, allocations: 181 kB / 1.015 GB, free: 171.3 MB / 0.7481 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.002922/0.9739, allocations: 2.286 MB / 1.018 GB, free: 170.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009346/0.9749, allocations: 0.5015 MB / 1.018 GB, free: 170.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005527/0.9804, allocations: 4.18 MB / 1.022 GB, free: 168 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.9804, allocations: 28.78 kB / 1.022 GB, free: 168 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.9804, allocations: 4.594 kB / 1.022 GB, free: 168 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003824/0.9843, allocations: 3.637 MB / 1.026 GB, free: 165.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.9961, allocations: 10.27 MB / 1.036 GB, free: 159.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.9962, allocations: 3.875 kB / 1.036 GB, free: 159.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/0.9981, allocations: 0.4993 MB / 1.036 GB, free: 159.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006731/0.9988, allocations: 373.3 kB / 1.037 GB, free: 159.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.9989, allocations: 82.14 kB / 1.037 GB, free: 159.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/1.003, allocations: 5.641 MB / 1.042 GB, free: 153.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.003, allocations: 8 kB / 1.042 GB, free: 153.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007142/1.01, allocations: 6.277 MB / 1.048 GB, free: 147 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/1.012, allocations: 1.119 MB / 1.049 GB, free: 145.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007721/1.013, allocations: 62.28 kB / 1.049 GB, free: 145.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/1.016, allocations: 179.7 kB / 1.05 GB, free: 145.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/1.016, allocations: 169.6 kB / 1.05 GB, free: 145.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/1.016, allocations: 131.9 kB / 1.05 GB, free: 145.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004119/1.02, allocations: 3.835 MB / 1.054 GB, free: 141.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/1.02, allocations: 0 / 1.054 GB, free: 141.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004157/1.024, allocations: 1.818 MB / 1.055 GB, free: 139.9 MB / 0.7481 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.007537/1.032, allocations: 7.218 MB / 1.063 GB, free: 132.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005028/1.037, allocations: 4.284 MB / 1.067 GB, free: 128.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.037, allocations: 4.125 kB / 1.067 GB, free: 128.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/1.039, allocations: 2.047 MB / 1.069 GB, free: 126.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01301/1.052, allocations: 3.454 MB / 1.072 GB, free: 122.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05088/1.103, allocations: 47.14 MB / 1.118 GB, free: 74.05 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002789/1.106, allocations: 4.299 MB / 1.122 GB, free: 69.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004457/1.11, allocations: 1.861 MB / 1.124 GB, free: 67.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/1.113, allocations: 2.444 MB / 1.127 GB, free: 65.44 MB / 0.7481 GB Notification: Performance of SimCode: time 7.61e-07/1.113, allocations: 4 kB / 1.127 GB, free: 65.43 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2103/1.323, allocations: 154.2 MB / 1.277 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.97/20.3, allocations: 26.91 kB / 1.277 GB, free: 8.477 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)