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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 108.8 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002452/0.002452, allocations: 293.5 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.185/1.185, allocations: 180.9 MB / 0.5261 GB, free: 14.78 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 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.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: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 99.5 kB / 0.7248 GB, free: 39.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.158, allocations: 94.15 MB / 0.8167 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.08655/0.2445, allocations: 56.41 MB / 0.8718 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03194/0.2765, allocations: 18.03 MB / 0.8894 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.2792, allocations: 75.56 kB / 0.8895 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003055/0.2823, allocations: 0.9314 MB / 0.8904 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007544/0.2898, allocations: 2.616 MB / 0.8929 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.294, allocations: 1.535 MB / 0.8944 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02546/0.3195, allocations: 21.25 MB / 0.9152 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01366/0.3331, allocations: 8.882 MB / 0.9238 GB, free: 7.246 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0164/0.3495, allocations: 7.236 MB / 0.9309 GB, free: 28 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01284/0.3624, allocations: 6.658 MB / 0.9374 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.004546/0.3669, allocations: 0.9375 MB / 0.9383 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007408/0.3743, allocations: 1.725 MB / 0.94 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004748/0.3791, allocations: 2.437 MB / 0.9424 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.009704/0.3888, allocations: 4.711 MB / 0.947 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01924/0.408, allocations: 13.23 MB / 0.9599 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.408, allocations: 3.938 kB / 0.9599 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.793e-06/0.408, allocations: 0 / 0.9599 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004123/0.4084, allocations: 0 / 0.9599 GB, free: 2.223 MB / 0.7012 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.02333/0.4318, allocations: 8.701 MB / 0.9684 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4318, allocations: 8.031 kB / 0.9684 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003204/0.435, allocations: 0.8383 MB / 0.9692 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004807/0.4398, allocations: 0.902 MB / 0.9701 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/0.4564, allocations: 6.743 MB / 0.9767 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005245/0.4569, allocations: 460.2 kB / 0.9772 GB, free: 416 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/0.4593, allocations: 0.5938 MB / 0.9777 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02091/0.4802, allocations: 9.04 MB / 0.9866 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/0.4804, allocations: 23.81 kB / 0.9866 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/0.4816, allocations: 264 kB / 0.9868 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/0.4818, allocations: 187.9 kB / 0.987 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.4966, allocations: 7.461 MB / 0.9943 GB, free: 14.51 MB / 0.7481 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.7383/1.235, allocations: 36.08 MB / 1.03 GB, free: 154.6 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006485/1.241, allocations: 3.994 MB / 1.033 GB, free: 153.2 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004111/1.245, allocations: 3.035 MB / 1.036 GB, free: 151.8 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.247, allocations: 0.9576 MB / 1.037 GB, free: 150.8 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003393/1.25, allocations: 2.396 MB / 1.04 GB, free: 149.4 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002653/1.253, allocations: 399.7 kB / 1.04 GB, free: 149.4 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=317): time 1.029e-05/1.253, allocations: 0 / 1.04 GB, free: 149.4 MB / 0.7482 GB Notification: Performance of matching and sorting (n=317): time 0.0113/1.264, allocations: 7.14 MB / 1.047 GB, free: 145.6 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/1.264, allocations: 87.78 kB / 1.047 GB, free: 145.6 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006771/1.271, allocations: 5.678 MB / 1.053 GB, free: 142.3 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.0008638/1.272, allocations: 85.7 kB / 1.053 GB, free: 142.2 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003082/1.275, allocations: 3.263 MB / 1.056 GB, free: 139.3 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.001761/1.276, allocations: 1.176 MB / 1.057 GB, free: 138.3 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/1.278, allocations: 0.8624 MB / 1.058 GB, free: 137.4 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.278, allocations: 308.9 kB / 1.058 GB, free: 137.1 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002822/1.28, allocations: 2.163 MB / 1.06 GB, free: 134.9 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/1.284, allocations: 3.696 MB / 1.064 GB, free: 130.6 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006088/1.29, allocations: 6.319 MB / 1.07 GB, free: 123.6 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.225e-05/1.29, allocations: 16 kB / 1.07 GB, free: 123.6 MB / 0.7482 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009388/1.299, allocations: 6.786 MB / 1.077 GB, free: 116.7 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/1.299, allocations: 60.2 kB / 1.077 GB, free: 116.7 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.283e-05/1.299, allocations: 53.41 kB / 1.077 GB, free: 116.6 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007851/1.3, allocations: 437.1 kB / 1.077 GB, free: 116.2 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003107/1.303, allocations: 1.01 MB / 1.078 GB, free: 115.2 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004155/1.307, allocations: 5.701 MB / 1.084 GB, free: 109.2 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004527/1.312, allocations: 288.1 kB / 1.084 GB, free: 109 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000437/1.312, allocations: 219.6 kB / 1.084 GB, free: 108.7 MB / 0.7482 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.003293/1.316, allocations: 2.48 MB / 1.087 GB, free: 106.3 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/1.317, allocations: 0.5551 MB / 1.087 GB, free: 105.7 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006733/1.323, allocations: 5.257 MB / 1.092 GB, free: 100.4 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/1.324, allocations: 32 kB / 1.092 GB, free: 100.4 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.324, allocations: 4 kB / 1.092 GB, free: 100.4 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004886/1.328, allocations: 4.52 MB / 1.097 GB, free: 95.79 MB / 0.7482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/1.348, allocations: 11.96 MB / 1.109 GB, free: 83.77 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.348, allocations: 1.969 kB / 1.109 GB, free: 83.77 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/1.351, allocations: 0.6438 MB / 1.109 GB, free: 83.12 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007025/1.352, allocations: 374.9 kB / 1.11 GB, free: 82.76 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/1.352, allocations: 83.95 kB / 1.11 GB, free: 82.68 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003943/1.356, allocations: 5.615 MB / 1.115 GB, free: 76.81 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.356, allocations: 3.938 kB / 1.115 GB, free: 76.8 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/1.366, allocations: 7.779 MB / 1.123 GB, free: 68.94 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004064/1.37, allocations: 1.185 MB / 1.124 GB, free: 67.73 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/1.371, allocations: 63.98 kB / 1.124 GB, free: 67.67 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/1.374, allocations: 208.3 kB / 1.124 GB, free: 67.47 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003619/1.375, allocations: 198.2 kB / 1.124 GB, free: 67.28 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/1.375, allocations: 139.9 kB / 1.124 GB, free: 67.14 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.004459/1.38, allocations: 3.959 MB / 1.128 GB, free: 63.2 MB / 0.7482 GB Notification: Performance of sort global known variables: time 8e-08/1.38, allocations: 0 / 1.128 GB, free: 63.2 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.005011/1.385, allocations: 2.022 MB / 1.13 GB, free: 61.32 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.01003/1.395, allocations: 8.725 MB / 1.139 GB, free: 52.57 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.006405/1.401, allocations: 5.244 MB / 1.144 GB, free: 47.27 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.401, allocations: 7.938 kB / 1.144 GB, free: 47.27 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.002682/1.404, allocations: 2.381 MB / 1.146 GB, free: 44.86 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01303/1.417, allocations: 3.395 MB / 1.15 GB, free: 41.59 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08422/1.501, allocations: 52.52 MB / 1.201 GB, free: 2.949 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005669/1.507, allocations: 4.636 MB / 1.205 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.007106/1.514, allocations: 2.081 MB / 1.207 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005308/1.519, allocations: 2.678 MB / 1.21 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of SimCode: time 1.453e-06/1.519, allocations: 0 / 1.21 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.661/2.18, allocations: 160.6 MB / 1.367 GB, free: 313.3 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.92/23.1, allocations: 9.312 kB / 1.367 GB, free: 313.3 MB / 0.9044 GB " [Timeout remaining time 637] (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: 27.43667526030913] Failed to read output from testmodel.py, exit status != 0: 23.275528396945447 23.283845447 22.873498681 Calling exit ...