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.001281/0.001281, allocations: 109.2 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.00144/0.00144, allocations: 219 kB / 22.26 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.957 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.002613/0.002613, allocations: 298.8 kB / 312.7 MB, free: 2.77 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.255/1.255, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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.002843/0.002843, allocations: 98.72 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1796, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06506/0.2447, allocations: 57.19 MB / 0.8886 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02716/0.2718, allocations: 18.19 MB / 0.9063 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00305/0.2749, allocations: 103.2 kB / 0.9064 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.2782, allocations: 0.9274 MB / 0.9073 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007662/0.2858, allocations: 2.686 MB / 0.91 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.2902, allocations: 1.602 MB / 0.9115 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02847/0.3187, allocations: 21.81 MB / 0.9328 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01259/0.3313, allocations: 7.094 MB / 0.9397 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01656/0.3478, allocations: 7.342 MB / 0.9469 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01291/0.3607, allocations: 6.67 MB / 0.9534 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002466/0.3632, allocations: 0.9375 MB / 0.9543 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006114/0.3693, allocations: 1.779 MB / 0.9561 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003174/0.3725, allocations: 2.426 MB / 0.9585 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009463/0.382, allocations: 4.715 MB / 0.9631 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01884/0.4008, allocations: 13.29 MB / 0.976 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.4008, allocations: 0 / 0.976 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4008, allocations: 0 / 0.976 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004538/0.4013, allocations: 4 kB / 0.976 GB, free: 5.352 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.7079/1.109, allocations: 8.625 MB / 0.9845 GB, free: 135.9 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.109, allocations: 11.31 kB / 0.9845 GB, free: 135.9 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002657/1.112, allocations: 0.8434 MB / 0.9853 GB, free: 135.4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/1.117, allocations: 0.9611 MB / 0.9862 GB, free: 135 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/1.131, allocations: 6.763 MB / 0.9928 GB, free: 131.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006076/1.131, allocations: 456 kB / 0.9933 GB, free: 131.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002862/1.134, allocations: 0.6013 MB / 0.9939 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02663/1.161, allocations: 9.04 MB / 1.003 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/1.161, allocations: 23.64 kB / 1.003 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007525/1.162, allocations: 259.1 kB / 1.003 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/1.162, allocations: 183.5 kB / 1.003 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/1.177, allocations: 7.457 MB / 1.01 GB, free: 123.5 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.04574/1.223, allocations: 36.01 MB / 1.046 GB, free: 86.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/1.228, allocations: 4.002 MB / 1.049 GB, free: 82.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003722/1.232, allocations: 3.023 MB / 1.052 GB, free: 79.14 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008983/1.233, allocations: 227 kB / 1.053 GB, free: 78.92 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003289/1.236, allocations: 2.386 MB / 1.055 GB, free: 76.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002357/1.239, allocations: 397.1 kB / 1.055 GB, free: 76.11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 8.627e-06/1.239, allocations: 0 / 1.055 GB, free: 76.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01154/1.25, allocations: 7.001 MB / 1.062 GB, free: 69.06 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.25, allocations: 89.91 kB / 1.062 GB, free: 68.96 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009264/1.259, allocations: 5.682 MB / 1.068 GB, free: 63.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008689/1.26, allocations: 90.55 kB / 1.068 GB, free: 63.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003328/1.264, allocations: 3.263 MB / 1.071 GB, free: 59.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001665/1.265, allocations: 1.17 MB / 1.072 GB, free: 58.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002497/1.268, allocations: 0.8624 MB / 1.073 GB, free: 57.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.332e-05/1.268, allocations: 301.1 kB / 1.073 GB, free: 57.56 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/1.271, allocations: 2.171 MB / 1.076 GB, free: 55.38 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003802/1.275, allocations: 3.697 MB / 1.079 GB, free: 50.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006985/1.282, allocations: 6.319 MB / 1.085 GB, free: 43.95 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.525e-05/1.282, allocations: 12 kB / 1.085 GB, free: 43.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01062/1.293, allocations: 6.795 MB / 1.092 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.788e-05/1.293, allocations: 53.89 kB / 1.092 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.117e-05/1.293, allocations: 52 kB / 1.092 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008766/1.294, allocations: 431.4 kB / 1.092 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/1.297, allocations: 1.006 MB / 1.093 GB, free: 35.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005001/1.302, allocations: 5.49 MB / 1.099 GB, free: 29.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/1.307, allocations: 291.6 kB / 1.099 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009845/1.308, allocations: 220 kB / 1.099 GB, free: 29.34 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.00503/1.313, allocations: 2.485 MB / 1.102 GB, free: 26.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/1.316, allocations: 0.5513 MB / 1.102 GB, free: 26.29 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009336/1.325, allocations: 5.259 MB / 1.107 GB, free: 20.99 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/1.325, allocations: 35.98 kB / 1.107 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/1.325, allocations: 4 kB / 1.107 GB, free: 20.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005794/1.331, allocations: 4.526 MB / 1.112 GB, free: 16.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.023/1.354, allocations: 12.02 MB / 1.124 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/1.354, allocations: 1.375 kB / 1.124 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/1.356, allocations: 0.6438 MB / 1.124 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007555/1.357, allocations: 376.2 kB / 1.125 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003765/1.358, allocations: 83.95 kB / 1.125 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005239/1.363, allocations: 5.41 MB / 1.13 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.363, allocations: 3.656 kB / 1.13 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/1.376, allocations: 7.783 MB / 1.138 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0044/1.381, allocations: 1.146 MB / 1.139 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002033/1.383, allocations: 60 kB / 1.139 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00383/1.387, allocations: 206.5 kB / 1.139 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/1.387, allocations: 214 kB / 1.139 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004289/1.388, allocations: 135.9 kB / 1.139 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.008339/1.396, allocations: 3.971 MB / 1.143 GB, free: 15.85 MB / 0.7482 GB Notification: Performance of sort global known variables: time 1.1e-07/1.396, allocations: 4 kB / 1.143 GB, free: 15.85 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.007285/1.403, allocations: 2.023 MB / 1.145 GB, free: 13.82 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.01479/1.418, allocations: 8.709 MB / 1.154 GB, free: 5.016 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.009076/1.427, allocations: 5.244 MB / 1.159 GB, free: 15.71 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.427, allocations: 0.9375 kB / 1.159 GB, free: 15.71 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.00384/1.431, allocations: 2.373 MB / 1.161 GB, free: 13.31 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0163/1.447, allocations: 3.393 MB / 1.164 GB, free: 10.02 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/1.554, allocations: 52.66 MB / 1.216 GB, free: 3.242 MB / 0.8107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007639/1.562, allocations: 4.628 MB / 1.22 GB, free: 14.58 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.008778/1.57, allocations: 2.08 MB / 1.222 GB, free: 12.52 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005569/1.576, allocations: 2.678 MB / 1.225 GB, free: 9.84 MB / 0.8263 GB Notification: Performance of SimCode: time 1.332e-06/1.576, allocations: 0 / 1.225 GB, free: 9.84 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6887/2.265, allocations: 164.3 MB / 1.385 GB, free: 297.9 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.11/25.38, allocations: 4.062 kB / 1.385 GB, free: 297.9 MB / 0.92 GB " [Timeout remaining time 634] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=50 --tolerance=1e-06 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: 29.903150596888736] Failed to read output from testmodel.py, exit status != 0: 25.588147044880316 25.598906758 25.195543542 Calling exit ...