Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007711/0.0007711, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0007859/0.0007859, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8892/0.8892, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5461/0.5461, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.753e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03366/0.03367, allocations: 51.22 MB / 0.6042 GB, free: 15.39 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.05, allocations: 16.74 MB / 0.6205 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003672/0.05367, allocations: 107.2 kB / 0.6206 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.05585, allocations: 0.8999 MB / 0.6215 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.007976/0.06383, allocations: 2.727 MB / 0.6242 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.06755, allocations: 1.659 MB / 0.6258 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01406/0.08161, allocations: 22.11 MB / 0.6474 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008376/0.08998, allocations: 6.739 MB / 0.654 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01892/0.1089, allocations: 10.33 MB / 0.6641 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009319/0.1182, allocations: 6.324 MB / 0.6702 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.002033/0.1203, allocations: 0.9375 MB / 0.6712 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/0.124, allocations: 1.596 MB / 0.6727 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.1254, allocations: 2.488 MB / 0.6751 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003798/0.1292, allocations: 3.356 MB / 0.6784 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.324/0.4533, allocations: 13.52 MB / 0.6916 GB, free: 76.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.4533, allocations: 0 / 0.6916 GB, free: 76.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4533, allocations: 0 / 0.6916 GB, free: 76.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005982/0.4539, allocations: 0 / 0.6916 GB, free: 76.89 MB / 0.6355 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.02041/0.4743, allocations: 8.545 MB / 0.7 GB, free: 73.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4744, allocations: 14.23 kB / 0.7 GB, free: 73.85 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002777/0.4771, allocations: 0.8374 MB / 0.7008 GB, free: 73.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00356/0.4807, allocations: 0.9564 MB / 0.7017 GB, free: 73.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.4931, allocations: 6.771 MB / 0.7083 GB, free: 72.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004098/0.4935, allocations: 463 kB / 0.7088 GB, free: 72.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/0.4959, allocations: 0.596 MB / 0.7094 GB, free: 72.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.518, allocations: 10.1 MB / 0.7192 GB, free: 70 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002696/0.5182, allocations: 22.31 kB / 0.7193 GB, free: 70 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001971/0.5202, allocations: 261.8 kB / 0.7195 GB, free: 70 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/0.5204, allocations: 176.8 kB / 0.7197 GB, free: 70 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.5375, allocations: 7.449 MB / 0.7269 GB, free: 69.95 MB / 0.6355 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.04569/0.5832, allocations: 27.23 MB / 0.7535 GB, free: 55.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004426/0.5876, allocations: 3.974 MB / 0.7574 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003526/0.5911, allocations: 3.029 MB / 0.7604 GB, free: 52.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006975/0.5918, allocations: 204.3 kB / 0.7606 GB, free: 52.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003293/0.5951, allocations: 3.452 MB / 0.7639 GB, free: 50.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002392/0.5975, allocations: 404.7 kB / 0.7643 GB, free: 50.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 1.242e-05/0.5975, allocations: 0 / 0.7643 GB, free: 50.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.008731/0.6063, allocations: 7.005 MB / 0.7712 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.6063, allocations: 88.48 kB / 0.7713 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007076/0.6134, allocations: 5.757 MB / 0.7769 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0009515/0.6143, allocations: 86.08 kB / 0.777 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002381/0.6167, allocations: 3.258 MB / 0.7801 GB, free: 42.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/0.6184, allocations: 1.16 MB / 0.7813 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009969/0.6194, allocations: 0.8485 MB / 0.7821 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.6194, allocations: 313 kB / 0.7824 GB, free: 41.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/0.6219, allocations: 2.185 MB / 0.7845 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/0.6245, allocations: 3.833 MB / 0.7883 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005342/0.6299, allocations: 6.316 MB / 0.7944 GB, free: 32.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.355e-05/0.6299, allocations: 14.94 kB / 0.7945 GB, free: 32.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007312/0.6372, allocations: 6.821 MB / 0.8011 GB, free: 27.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.6373, allocations: 49.7 kB / 0.8012 GB, free: 27.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/0.6373, allocations: 52 kB / 0.8012 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/0.638, allocations: 441.9 kB / 0.8016 GB, free: 26.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.6399, allocations: 1.007 MB / 0.8026 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.6431, allocations: 5.415 MB / 0.8079 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004109/0.6472, allocations: 293.7 kB / 0.8082 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006005/0.6478, allocations: 222.9 kB / 0.8084 GB, free: 19.51 MB / 0.6355 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.004112/0.6519, allocations: 2.477 MB / 0.8108 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/0.6535, allocations: 0.559 MB / 0.8114 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00582/0.6593, allocations: 5.262 MB / 0.8165 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.6594, allocations: 32 kB / 0.8165 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6594, allocations: 4 kB / 0.8165 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003734/0.6631, allocations: 4.524 MB / 0.821 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/0.682, allocations: 11.07 MB / 0.8318 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.682, allocations: 4.125 kB / 0.8318 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.6836, allocations: 0.644 MB / 0.8324 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006208/0.6842, allocations: 365.4 kB / 0.8328 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/0.6845, allocations: 83.95 kB / 0.8328 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/0.6885, allocations: 5.331 MB / 0.838 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6885, allocations: 0 / 0.838 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009736/0.6982, allocations: 7.745 MB / 0.8456 GB, free: 13.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00363/0.7018, allocations: 1.142 MB / 0.8467 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001747/0.7036, allocations: 67.98 kB / 0.8468 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002988/0.7066, allocations: 208.7 kB / 0.847 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/0.707, allocations: 209.5 kB / 0.8472 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/0.7073, allocations: 139.9 kB / 0.8473 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.006182/0.7134, allocations: 3.962 MB / 0.8512 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7134, allocations: 1.422 kB / 0.8512 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007541/0.721, allocations: 2.027 MB / 0.8532 GB, free: 5.414 MB / 0.6667 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.01087/0.7318, allocations: 8.68 MB / 0.8616 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007234/0.7391, allocations: 5.266 MB / 0.8668 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.7391, allocations: 4 kB / 0.8668 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003145/0.7422, allocations: 2.364 MB / 0.8691 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01198/0.7542, allocations: 3.381 MB / 0.8724 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08273/0.8369, allocations: 52.56 MB / 0.9237 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005955/0.8429, allocations: 4.149 MB / 0.9278 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005817/0.8487, allocations: 2.052 MB / 0.9298 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004724/0.8534, allocations: 2.672 MB / 0.9324 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of SimCode: time 2.325e-06/0.8534, allocations: 0 / 0.9324 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4038/1.257, allocations: 170.1 MB / 1.098 GB, free: 193.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.22, allocations: 10.69 kB / 1.099 GB, free: 193.6 MB / 0.7761 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.88866910804063] Failed to read output from testmodel.py, exit status != 0: 14.375548873096704 14.381226189 13.926426709 Calling exit ...