Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 217.8 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002448/0.002448, allocations: 283.4 kB / 312.7 MB, free: 2.766 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.185/1.185, allocations: 180.6 MB / 0.5369 GB, free: 12.94 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002989/0.002989, allocations: 103.4 kB / 0.7396 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1798, allocations: 95.39 MB / 0.8327 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0623/0.2421, allocations: 57.19 MB / 0.8886 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.2673, allocations: 18.19 MB / 0.9063 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004302/0.2716, allocations: 103.2 kB / 0.9064 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003265/0.2749, allocations: 0.9314 MB / 0.9073 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007926/0.2828, allocations: 2.68 MB / 0.91 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004103/0.2869, allocations: 1.603 MB / 0.9115 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02321/0.3101, allocations: 21.79 MB / 0.9328 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.3207, allocations: 7.105 MB / 0.9397 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01461/0.3353, allocations: 7.337 MB / 0.9469 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.3473, allocations: 6.67 MB / 0.9534 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002652/0.3499, allocations: 0.9414 MB / 0.9543 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006632/0.3566, allocations: 1.768 MB / 0.9561 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003981/0.3605, allocations: 2.437 MB / 0.9585 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01029/0.3708, allocations: 4.719 MB / 0.9631 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02139/0.3922, allocations: 13.29 MB / 0.976 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.3922, allocations: 0 / 0.976 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.747e-06/0.3922, allocations: 0 / 0.976 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005153/0.3928, allocations: 0 / 0.976 GB, free: 5.348 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.7545/1.147, allocations: 8.628 MB / 0.9845 GB, free: 134.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.147, allocations: 12.86 kB / 0.9845 GB, free: 134.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002749/1.15, allocations: 0.8459 MB / 0.9853 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/1.155, allocations: 0.9599 MB / 0.9862 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01601/1.171, allocations: 6.763 MB / 0.9928 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005626/1.171, allocations: 457.3 kB / 0.9933 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/1.174, allocations: 0.6005 MB / 0.9939 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/1.198, allocations: 9.046 MB / 1.003 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001805/1.198, allocations: 20.31 kB / 1.003 GB, free: 126.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.199, allocations: 263.1 kB / 1.003 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/1.199, allocations: 176 kB / 1.003 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01384/1.213, allocations: 7.469 MB / 1.01 GB, free: 122.4 MB / 0.7169 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.0512/1.264, allocations: 35.99 MB / 1.046 GB, free: 85.19 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006436/1.271, allocations: 3.999 MB / 1.049 GB, free: 81.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004652/1.275, allocations: 3.03 MB / 1.052 GB, free: 78.17 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/1.276, allocations: 222 kB / 1.053 GB, free: 77.96 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004047/1.28, allocations: 2.394 MB / 1.055 GB, free: 75.53 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003009/1.283, allocations: 399.2 kB / 1.055 GB, free: 75.22 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.215e-05/1.283, allocations: 0 / 1.055 GB, free: 75.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01245/1.296, allocations: 7.001 MB / 1.062 GB, free: 68.17 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.296, allocations: 89.84 kB / 1.062 GB, free: 68.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009569/1.305, allocations: 5.678 MB / 1.068 GB, free: 62.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008973/1.306, allocations: 93.7 kB / 1.068 GB, free: 62.31 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002919/1.309, allocations: 3.267 MB / 1.071 GB, free: 59.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00172/1.311, allocations: 1.17 MB / 1.072 GB, free: 57.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002273/1.313, allocations: 0.8624 MB / 1.073 GB, free: 56.96 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/1.313, allocations: 301.1 kB / 1.073 GB, free: 56.67 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003239/1.317, allocations: 2.16 MB / 1.075 GB, free: 54.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/1.32, allocations: 3.697 MB / 1.079 GB, free: 50.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008/1.328, allocations: 6.323 MB / 1.085 GB, free: 43.06 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.801e-05/1.328, allocations: 16 kB / 1.085 GB, free: 43.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0117/1.34, allocations: 6.787 MB / 1.092 GB, free: 36.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.911e-05/1.34, allocations: 58.5 kB / 1.092 GB, free: 36.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.492e-05/1.34, allocations: 54.34 kB / 1.092 GB, free: 36.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009625/1.341, allocations: 435 kB / 1.092 GB, free: 35.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003686/1.345, allocations: 1.01 MB / 1.093 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004745/1.35, allocations: 5.485 MB / 1.099 GB, free: 28.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005132/1.355, allocations: 291.6 kB / 1.099 GB, free: 28.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008234/1.356, allocations: 216 kB / 1.099 GB, free: 28.46 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.004199/1.36, allocations: 2.487 MB / 1.102 GB, free: 25.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002142/1.362, allocations: 0.5513 MB / 1.102 GB, free: 25.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008771/1.371, allocations: 5.262 MB / 1.107 GB, free: 20.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/1.371, allocations: 28 kB / 1.107 GB, free: 20.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/1.371, allocations: 11.88 kB / 1.107 GB, free: 20.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005433/1.376, allocations: 4.526 MB / 1.112 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02567/1.402, allocations: 12.01 MB / 1.124 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/1.402, allocations: 4 kB / 1.124 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00286/1.405, allocations: 0.6438 MB / 1.124 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008017/1.405, allocations: 371.4 kB / 1.125 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004576/1.406, allocations: 87.95 kB / 1.125 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005577/1.411, allocations: 5.409 MB / 1.13 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.412, allocations: 7.938 kB / 1.13 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.426, allocations: 7.779 MB / 1.138 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004465/1.43, allocations: 1.147 MB / 1.139 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00261/1.433, allocations: 67.98 kB / 1.139 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004883/1.438, allocations: 205.2 kB / 1.139 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007349/1.438, allocations: 206 kB / 1.139 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005993/1.439, allocations: 139.9 kB / 1.139 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.009149/1.448, allocations: 3.967 MB / 1.143 GB, free: 14.97 MB / 0.7482 GB Notification: Performance of sort global known variables: time 3.5e-07/1.448, allocations: 4 kB / 1.143 GB, free: 14.97 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.009398/1.458, allocations: 2.023 MB / 1.145 GB, free: 12.94 MB / 0.7482 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.01751/1.475, allocations: 8.715 MB / 1.154 GB, free: 4.133 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.485, allocations: 5.24 MB / 1.159 GB, free: 14.84 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/1.485, allocations: 4.938 kB / 1.159 GB, free: 14.84 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.004955/1.49, allocations: 2.381 MB / 1.161 GB, free: 12.43 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02057/1.511, allocations: 3.384 MB / 1.164 GB, free: 9.141 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1142/1.625, allocations: 52.65 MB / 1.216 GB, free: 2.355 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006699/1.631, allocations: 4.628 MB / 1.22 GB, free: 13.69 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.006599/1.638, allocations: 2.087 MB / 1.222 GB, free: 11.63 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005402/1.643, allocations: 2.678 MB / 1.225 GB, free: 8.949 MB / 0.8263 GB Notification: Performance of SimCode: time 1.443e-06/1.643, allocations: 0 / 1.225 GB, free: 8.949 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6553/2.299, allocations: 164.3 MB / 1.385 GB, free: 291.1 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.21/23.51, allocations: 7.312 kB / 1.385 GB, free: 291.1 MB / 0.92 GB " [Timeout remaining time 636] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.734589127001527] Failed to read output from testmodel.py, exit status != 0: 23.72289683800045 23.737683843 23.34226054 Calling exit ...