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.001268/0.001268, allocations: 93.91 kB / 20.48 MB, free: 1.359 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.001374/0.001374, allocations: 215.1 kB / 23.78 MB, free: 4.516 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.45/1.45, allocations: 230.6 MB / 257.6 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.9267/0.9267, allocations: 150 MB / 464 MB, free: 10.24 MB / 366.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001978/0.001978, allocations: 66.31 kB / 0.642 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1819, allocations: 89.17 MB / 0.729 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4437/0.6256, allocations: 51.58 MB / 0.7794 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02413/0.6497, allocations: 16.81 MB / 0.7958 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00374/0.6535, allocations: 100.5 kB / 0.7959 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003536/0.657, allocations: 0.8961 MB / 0.7968 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009835/0.6668, allocations: 2.662 MB / 0.7994 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005293/0.6721, allocations: 1.589 MB / 0.8009 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02759/0.6997, allocations: 21.83 MB / 0.8223 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.712, allocations: 7.085 MB / 0.8292 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01903/0.731, allocations: 7.593 MB / 0.8366 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01592/0.7469, allocations: 6.584 MB / 0.843 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004502/0.7514, allocations: 0.9375 MB / 0.8439 GB, free: 348 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009839/0.7612, allocations: 1.581 MB / 0.8455 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005558/0.7668, allocations: 2.434 MB / 0.8479 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.7782, allocations: 3.876 MB / 0.8517 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02204/0.8003, allocations: 13.37 MB / 0.8647 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.8003, allocations: 3.938 kB / 0.8647 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8003, allocations: 0 / 0.8647 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004958/0.8008, allocations: 0 / 0.8647 GB, free: 11.02 MB / 0.6387 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.02798/0.8288, allocations: 8.638 MB / 0.8731 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.8288, allocations: 12.03 kB / 0.8732 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002377/0.8291, allocations: 160.4 kB / 0.8733 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003607/0.8327, allocations: 0.8422 MB / 0.8741 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005859/0.8385, allocations: 0.9566 MB / 0.8751 GB, free: 316 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01631/0.8548, allocations: 6.793 MB / 0.8817 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005652/0.8554, allocations: 456.2 kB / 0.8821 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/0.8583, allocations: 0.5975 MB / 0.8827 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02501/0.8833, allocations: 10.11 MB / 0.8926 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002167/0.8835, allocations: 15.88 kB / 0.8926 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00173/0.8852, allocations: 264 kB / 0.8929 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002153/0.8855, allocations: 183.9 kB / 0.893 GB, free: 13.24 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01831/0.9038, allocations: 7.461 MB / 0.9003 GB, free: 5.773 MB / 0.67 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.05826/0.962, allocations: 27.27 MB / 0.9269 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008629/0.9707, allocations: 3.967 MB / 0.9308 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006022/0.9767, allocations: 3.027 MB / 0.9338 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.9779, allocations: 206.3 kB / 0.934 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006128/0.984, allocations: 3.448 MB / 0.9373 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003349/0.9873, allocations: 401 kB / 0.9377 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.695e-05/0.9874, allocations: 0 / 0.9377 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01766/1.005, allocations: 7.004 MB / 0.9446 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/1.005, allocations: 85.91 kB / 0.9446 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/1.018, allocations: 5.682 MB / 0.9502 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/1.019, allocations: 85.7 kB / 0.9503 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.005769/1.025, allocations: 3.271 MB / 0.9535 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002462/1.027, allocations: 1.174 MB / 0.9546 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002979/1.03, allocations: 0.8585 MB / 0.9555 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.03, allocations: 309.1 kB / 0.9558 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004405/1.035, allocations: 2.192 MB / 0.9579 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00664/1.041, allocations: 3.826 MB / 0.9616 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.053, allocations: 6.331 MB / 0.9678 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.065e-05/1.053, allocations: 16 kB / 0.9678 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01656/1.069, allocations: 6.815 MB / 0.9745 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.07, allocations: 57.69 kB / 0.9745 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001045/1.07, allocations: 51.94 kB / 0.9746 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/1.071, allocations: 433.2 kB / 0.975 GB, free: 6.902 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004428/1.075, allocations: 1.01 MB / 0.976 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006793/1.082, allocations: 5.424 MB / 0.9813 GB, free: 240 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005513/1.088, allocations: 283.7 kB / 0.9816 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.089, allocations: 220 kB / 0.9818 GB, free: 15.74 MB / 0.7637 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.005852/1.095, allocations: 2.481 MB / 0.9842 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002329/1.097, allocations: 0.5549 MB / 0.9847 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/1.109, allocations: 5.26 MB / 0.9899 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/1.109, allocations: 36 kB / 0.9899 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/1.109, allocations: 4 kB / 0.9899 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00849/1.117, allocations: 4.524 MB / 0.9943 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02946/1.147, allocations: 11.08 MB / 1.005 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/1.147, allocations: 0 / 1.005 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00323/1.15, allocations: 0.6477 MB / 1.006 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009956/1.151, allocations: 369.4 kB / 1.006 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005302/1.152, allocations: 87.89 kB / 1.006 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006326/1.158, allocations: 5.322 MB / 1.011 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.158, allocations: 4 kB / 1.011 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01489/1.173, allocations: 7.752 MB / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003994/1.177, allocations: 1.143 MB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001887/1.179, allocations: 67.98 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004261/1.183, allocations: 195.9 kB / 1.02 GB, free: 7.621 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007238/1.184, allocations: 214.1 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006121/1.184, allocations: 139.8 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00878/1.193, allocations: 3.971 MB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/1.193, allocations: 0 / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.008336/1.202, allocations: 2.027 MB / 1.027 GB, free: 1.293 MB / 0.795 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.01705/1.219, allocations: 8.666 MB / 1.035 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.229, allocations: 5.266 MB / 1.04 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.229, allocations: 4.875 kB / 1.04 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004543/1.233, allocations: 2.365 MB / 1.042 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0172/1.251, allocations: 3.406 MB / 1.046 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7903/2.041, allocations: 52.73 MB / 1.097 GB, free: 285 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007728/2.049, allocations: 4.154 MB / 1.101 GB, free: 284.7 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.008174/2.057, allocations: 2.07 MB / 1.103 GB, free: 284.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005063/2.062, allocations: 2.671 MB / 1.106 GB, free: 284.6 MB / 0.8575 GB Notification: Performance of SimCode: time 1.733e-06/2.062, allocations: 4.219 kB / 1.106 GB, free: 284.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2186/2.28, allocations: 171.4 MB / 1.273 GB, free: 141.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.15/25.43, allocations: 3.938 kB / 1.273 GB, free: 141.7 MB / 0.8575 GB " [Timeout remaining time 634] (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: 29.62216734501999] Failed to read output from testmodel.py, exit status != 0: 25.681471797986887 25.69027925 24.887324951 Calling exit ...