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.001382/0.001382, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002209/0.002209, allocations: 216.2 kB / 22.99 MB, free: 4.973 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9996/0.9996, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 178] 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: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") [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.002114/0.002114, allocations: 75.2 kB / 0.6415 GB, free: 9.621 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2208, allocations: 89.18 MB / 0.7286 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.5303/0.7511, allocations: 51.61 MB / 0.779 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02974/0.7808, allocations: 16.83 MB / 0.7955 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005189/0.786, allocations: 106 kB / 0.7956 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.79, allocations: 0.8945 MB / 0.7964 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.8017, allocations: 2.665 MB / 0.7991 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006381/0.8081, allocations: 1.565 MB / 0.8006 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03675/0.8448, allocations: 22.05 MB / 0.8221 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01413/0.8589, allocations: 7.094 MB / 0.829 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02014/0.8791, allocations: 7.585 MB / 0.8364 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01975/0.8988, allocations: 6.893 MB / 0.8432 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004465/0.9033, allocations: 0.9414 MB / 0.8441 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01099/0.9143, allocations: 1.573 MB / 0.8456 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00646/0.9207, allocations: 2.434 MB / 0.848 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01452/0.9353, allocations: 3.876 MB / 0.8518 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02623/0.9615, allocations: 13.36 MB / 0.8648 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.9615, allocations: 4 kB / 0.8648 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.514e-06/0.9615, allocations: 0 / 0.8648 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005427/0.9621, allocations: 0 / 0.8648 GB, free: 10.41 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.02849/0.9905, allocations: 8.646 MB / 0.8733 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.9906, allocations: 8.031 kB / 0.8733 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006048/0.9966, allocations: 0.9606 MB / 0.8742 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01934/1.016, allocations: 6.797 MB / 0.8809 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006202/1.017, allocations: 456.2 kB / 0.8813 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003448/1.02, allocations: 0.5976 MB / 0.8819 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03031/1.05, allocations: 10.1 MB / 0.8918 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004785/1.051, allocations: 19.83 kB / 0.8918 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002918/1.054, allocations: 264 kB / 0.892 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003001/1.054, allocations: 183.9 kB / 0.8922 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/1.074, allocations: 7.441 MB / 0.8995 GB, free: 6.188 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.06058/1.135, allocations: 26.37 MB / 0.9252 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008041/1.143, allocations: 3.976 MB / 0.9291 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005872/1.149, allocations: 3.029 MB / 0.9321 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/1.15, allocations: 202.3 kB / 0.9322 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005938/1.156, allocations: 3.46 MB / 0.9356 GB, free: 428 kB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003239/1.159, allocations: 317.9 kB / 0.9359 GB, free: 108 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=317): time 2.089e-05/1.159, allocations: 0 / 0.9359 GB, free: 108 kB / 0.7012 GB Notification: Performance of matching and sorting (n=317): time 0.01598/1.175, allocations: 6.95 MB / 0.9427 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/1.175, allocations: 81.91 kB / 0.9428 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/1.185, allocations: 4.985 MB / 0.9477 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008962/1.186, allocations: 85.7 kB / 0.9477 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003593/1.19, allocations: 3.283 MB / 0.951 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001852/1.192, allocations: 1.166 MB / 0.9521 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/1.193, allocations: 0.8625 MB / 0.9529 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.193, allocations: 304.9 kB / 0.9532 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/1.197, allocations: 2.189 MB / 0.9554 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005335/1.202, allocations: 3.826 MB / 0.9591 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/1.213, allocations: 6.323 MB / 0.9653 GB, free: 488 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.33e-05/1.213, allocations: 16 kB / 0.9653 GB, free: 472 kB / 0.7325 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01454/1.227, allocations: 6.753 MB / 0.9719 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-05/1.227, allocations: 59.73 kB / 0.9719 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.352e-05/1.228, allocations: 52.16 kB / 0.972 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.229, allocations: 435.7 kB / 0.9724 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004077/1.233, allocations: 1.006 MB / 0.9734 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/1.239, allocations: 5.364 MB / 0.9786 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005469/1.245, allocations: 287.7 kB / 0.9789 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/1.246, allocations: 216 kB / 0.9791 GB, free: 2.031 MB / 0.7481 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.007376/1.253, allocations: 2.487 MB / 0.9815 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002208/1.256, allocations: 0.4891 MB / 0.982 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009735/1.265, allocations: 5.203 MB / 0.9871 GB, free: 9.789 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/1.265, allocations: 36 kB / 0.9871 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.265, allocations: 4 kB / 0.9871 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007072/1.272, allocations: 4.524 MB / 0.9915 GB, free: 5.121 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/1.298, allocations: 10.45 MB / 1.002 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/1.298, allocations: 0 / 1.002 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002817/1.3, allocations: 0.6438 MB / 1.002 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009843/1.301, allocations: 375.1 kB / 1.003 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002974/1.302, allocations: 83.95 kB / 1.003 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006261/1.308, allocations: 5.275 MB / 1.008 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.308, allocations: 0 / 1.008 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.322, allocations: 7.694 MB / 1.015 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003799/1.325, allocations: 1.069 MB / 1.017 GB, free: 11.14 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/1.327, allocations: 67.98 kB / 1.017 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003218/1.33, allocations: 195.8 kB / 1.017 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004603/1.33, allocations: 210 kB / 1.017 GB, free: 10.67 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00033/1.331, allocations: 139.9 kB / 1.017 GB, free: 10.54 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00604/1.337, allocations: 3.388 MB / 1.02 GB, free: 7.152 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.337, allocations: 3.938 kB / 1.02 GB, free: 7.148 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.008208/1.345, allocations: 2.093 MB / 1.022 GB, free: 5.051 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.001517/1.347, allocations: 478.7 kB / 1.023 GB, free: 4.578 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009734/1.356, allocations: 5.266 MB / 1.028 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.356, allocations: 4 kB / 1.028 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004393/1.361, allocations: 2.353 MB / 1.03 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01423/1.375, allocations: 2.758 MB / 1.033 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/1.403, allocations: 13.99 MB / 1.047 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004959/1.407, allocations: 4.142 MB / 1.051 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005903/1.413, allocations: 1.878 MB / 1.053 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/1.415, allocations: 431.2 kB / 1.053 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of SimCode: time 1.934e-06/1.415, allocations: 0 / 1.053 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of Templates: time 0.6094/2.024, allocations: 113 MB / 1.163 GB, free: 250.7 MB / 0.8575 GB " [Timeout remaining time 658] make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.110143518075347] Failed to read output from testmodel.py, exit status != 0: 2.0352824106812477 2.045075481 1.080846963 Calling exit ...