Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001151/0.001151, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.001037/0.001037, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.991/0.991, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.958/1.958, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.297e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.7184/0.7184, allocations: 51.21 MB / 1.051 GB, free: 43.98 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.7355, allocations: 16.76 MB / 1.067 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.7391, allocations: 100.4 kB / 1.067 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.7416, allocations: 0.9111 MB / 1.068 GB, free: 43.44 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.009953/0.7515, allocations: 2.73 MB / 1.071 GB, free: 42.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005734/0.7573, allocations: 1.652 MB / 1.072 GB, free: 41.66 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.02484/0.7821, allocations: 22.1 MB / 1.094 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.7961, allocations: 6.744 MB / 1.1 GB, free: 28.5 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02929/0.8254, allocations: 10.32 MB / 1.111 GB, free: 24.38 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01632/0.8417, allocations: 6.32 MB / 1.117 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.004932/0.8466, allocations: 0.9381 MB / 1.118 GB, free: 22.4 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/0.8576, allocations: 1.594 MB / 1.119 GB, free: 22.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.006767/0.8644, allocations: 2.489 MB / 1.122 GB, free: 20.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.01414/0.8785, allocations: 3.359 MB / 1.125 GB, free: 19.09 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02749/0.906, allocations: 13.51 MB / 1.138 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.906, allocations: 0 / 1.138 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.875e-06/0.906, allocations: 0 / 1.138 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0006973/0.9067, allocations: 0 / 1.138 GB, free: 14.38 MB / 0.9948 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.02993/0.9366, allocations: 8.55 MB / 1.146 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.9367, allocations: 11.97 kB / 1.146 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004496/0.9412, allocations: 0.8457 MB / 1.147 GB, free: 9.352 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006686/0.9479, allocations: 0.9586 MB / 1.148 GB, free: 8.906 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02618/0.974, allocations: 6.777 MB / 1.155 GB, free: 5.672 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001438/0.9755, allocations: 460.2 kB / 1.155 GB, free: 5.461 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006962/0.9824, allocations: 0.5957 MB / 1.156 GB, free: 5.262 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03995/1.022, allocations: 10.1 MB / 1.166 GB, free: 14.5 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004244/1.023, allocations: 21.88 kB / 1.166 GB, free: 14.49 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004008/1.027, allocations: 259.3 kB / 1.166 GB, free: 14.3 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002586/1.027, allocations: 178.3 kB / 1.166 GB, free: 14.29 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/1.049, allocations: 7.451 MB / 1.173 GB, free: 10.46 MB / 1.01 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.05899/1.108, allocations: 27.23 MB / 1.2 GB, free: 328 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005874/1.114, allocations: 3.982 MB / 1.204 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004/1.118, allocations: 3.035 MB / 1.207 GB, free: 9.305 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007054/1.119, allocations: 206.3 kB / 1.207 GB, free: 9.102 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004628/1.123, allocations: 3.456 MB / 1.21 GB, free: 5.352 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003012/1.126, allocations: 398.1 kB / 1.211 GB, free: 4.961 MB / 1.042 GB Notification: Performance of pre-optimization done (n=317): time 1.068e-05/1.126, allocations: 0 / 1.211 GB, free: 4.961 MB / 1.042 GB Notification: Performance of matching and sorting (n=317): time 0.01132/1.138, allocations: 7.008 MB / 1.218 GB, free: 13.9 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/1.138, allocations: 85.89 kB / 1.218 GB, free: 13.8 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/1.149, allocations: 5.755 MB / 1.223 GB, free: 8.066 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001434/1.151, allocations: 85.7 kB / 1.223 GB, free: 7.977 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003606/1.155, allocations: 3.263 MB / 1.227 GB, free: 4.691 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.00217/1.157, allocations: 1.154 MB / 1.228 GB, free: 3.527 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/1.158, allocations: 0.8546 MB / 1.229 GB, free: 2.66 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.159, allocations: 305.1 kB / 1.229 GB, free: 2.359 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003907/1.162, allocations: 2.196 MB / 1.231 GB, free: 152 kB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00422/1.167, allocations: 3.822 MB / 1.235 GB, free: 11.59 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009174/1.176, allocations: 6.323 MB / 1.241 GB, free: 4.551 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.938e-05/1.176, allocations: 16 kB / 1.241 GB, free: 4.535 MB / 1.073 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01273/1.189, allocations: 6.819 MB / 1.248 GB, free: 13.66 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 9.182e-05/1.189, allocations: 55.73 kB / 1.248 GB, free: 13.6 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.13e-05/1.189, allocations: 48 kB / 1.248 GB, free: 13.55 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009779/1.19, allocations: 433.6 kB / 1.248 GB, free: 13.12 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002945/1.193, allocations: 1.006 MB / 1.249 GB, free: 12.12 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005441/1.198, allocations: 5.427 MB / 1.254 GB, free: 6.465 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005971/1.204, allocations: 291.8 kB / 1.255 GB, free: 6.18 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.205, allocations: 216 kB / 1.255 GB, free: 5.969 MB / 1.089 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.00663/1.212, allocations: 2.48 MB / 1.257 GB, free: 3.477 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002322/1.214, allocations: 0.559 MB / 1.258 GB, free: 2.914 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008477/1.223, allocations: 5.259 MB / 1.263 GB, free: 13.6 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/1.223, allocations: 32 kB / 1.263 GB, free: 13.57 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.223, allocations: 4 kB / 1.263 GB, free: 13.56 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006966/1.23, allocations: 4.528 MB / 1.267 GB, free: 8.934 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03049/1.26, allocations: 11.06 MB / 1.278 GB, free: 13.75 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.26, allocations: 4.125 kB / 1.278 GB, free: 13.75 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/1.262, allocations: 0.6436 MB / 1.279 GB, free: 13.1 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007931/1.263, allocations: 375.9 kB / 1.279 GB, free: 12.73 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/1.263, allocations: 83.95 kB / 1.279 GB, free: 12.65 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005093/1.268, allocations: 5.326 MB / 1.285 GB, free: 7.098 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.268, allocations: 0 / 1.285 GB, free: 7.098 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/1.283, allocations: 7.748 MB / 1.292 GB, free: 15.25 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004516/1.287, allocations: 1.147 MB / 1.293 GB, free: 14.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001924/1.289, allocations: 63.98 kB / 1.293 GB, free: 14.04 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/1.293, allocations: 199.8 kB / 1.293 GB, free: 13.84 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/1.293, allocations: 218 kB / 1.294 GB, free: 13.63 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004042/1.294, allocations: 143.9 kB / 1.294 GB, free: 13.49 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.00785/1.301, allocations: 3.959 MB / 1.298 GB, free: 9.551 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.1e-07/1.301, allocations: 0 / 1.298 GB, free: 9.551 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.009396/1.311, allocations: 2.027 MB / 1.3 GB, free: 7.52 MB / 1.135 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.0142/1.325, allocations: 8.688 MB / 1.308 GB, free: 14.73 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009213/1.334, allocations: 5.265 MB / 1.313 GB, free: 9.406 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.334, allocations: 0 / 1.313 GB, free: 9.406 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003801/1.338, allocations: 2.374 MB / 1.316 GB, free: 7.004 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02384/1.362, allocations: 3.375 MB / 1.319 GB, free: 3.715 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1103/1.472, allocations: 52.55 MB / 1.37 GB, free: 13 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005243/1.477, allocations: 4.15 MB / 1.374 GB, free: 8.812 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.007809/1.485, allocations: 2.046 MB / 1.376 GB, free: 6.77 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006648/1.492, allocations: 2.675 MB / 1.379 GB, free: 4.094 MB / 1.214 GB Notification: Performance of SimCode: time 2.575e-06/1.492, allocations: 3.938 kB / 1.379 GB, free: 4.09 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3234/1.815, allocations: 170.2 MB / 1.545 GB, free: 12.25 MB / 1.385 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/15.19, allocations: 6.5 kB / 1.545 GB, free: 12.25 MB / 1.385 GB " [Timeout remaining time 285] (rm -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu) > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 ../Buildings_13_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu) > Buildings_13_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 20.87371888011694]