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.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.001709/0.001709, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.002016/0.002016, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002561/0.002561, allocations: 241 kB / 260 MB, free: 440 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9199/0.9199, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003243/0.003243, allocations: 99.84 kB / 0.6473 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4691/0.4723, allocations: 95.35 MB / 0.7404 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05177/0.5241, allocations: 51.57 MB / 0.7908 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02532/0.5494, allocations: 16.83 MB / 0.8072 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.5524, allocations: 99.19 kB / 0.8073 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.5549, allocations: 0.9002 MB / 0.8082 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008176/0.5631, allocations: 2.667 MB / 0.8108 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.5672, allocations: 1.566 MB / 0.8124 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02532/0.5926, allocations: 22.02 MB / 0.8339 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01109/0.6037, allocations: 7.101 MB / 0.8408 GB, free: 11.78 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01562/0.6193, allocations: 7.372 MB / 0.848 GB, free: 4.426 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0136/0.6329, allocations: 6.982 MB / 0.8548 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003024/0.6359, allocations: 0.9375 MB / 0.8557 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006459/0.6424, allocations: 1.584 MB / 0.8573 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004017/0.6464, allocations: 2.437 MB / 0.8596 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008877/0.6553, allocations: 3.864 MB / 0.8634 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01894/0.6742, allocations: 13.32 MB / 0.8764 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.6742, allocations: 4 kB / 0.8764 GB, free: 7.207 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6742, allocations: 0 / 0.8764 GB, free: 7.207 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0006038/0.6748, allocations: 0 / 0.8764 GB, free: 7.207 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.0243/0.6991, allocations: 8.642 MB / 0.8849 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6992, allocations: 9.344 kB / 0.8849 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004699/0.7039, allocations: 0.9566 MB / 0.8858 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/0.7189, allocations: 6.779 MB / 0.8924 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.7194, allocations: 460.4 kB / 0.8929 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001963/0.7214, allocations: 0.5975 MB / 0.8935 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02112/0.7425, allocations: 10.1 MB / 0.9033 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002346/0.7428, allocations: 15.88 kB / 0.9033 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/0.7442, allocations: 260 kB / 0.9036 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002233/0.7444, allocations: 187.9 kB / 0.9038 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/0.7612, allocations: 7.441 MB / 0.911 GB, free: 3.023 MB / 0.7325 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.05161/0.8128, allocations: 26.35 MB / 0.9368 GB, free: 8.234 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00741/0.8202, allocations: 3.98 MB / 0.9406 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005544/0.8257, allocations: 3.033 MB / 0.9436 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.8268, allocations: 210.3 kB / 0.9438 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006222/0.8331, allocations: 3.448 MB / 0.9472 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003013/0.8361, allocations: 317.8 kB / 0.9475 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=317): time 1.148e-05/0.8361, allocations: 4 kB / 0.9475 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=317): time 0.01578/0.8519, allocations: 6.946 MB / 0.9543 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/0.852, allocations: 89.89 kB / 0.9543 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/0.8629, allocations: 4.981 MB / 0.9592 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0008192/0.8637, allocations: 85.7 kB / 0.9593 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003964/0.8677, allocations: 3.279 MB / 0.9625 GB, free: 13.47 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002043/0.8697, allocations: 1.17 MB / 0.9636 GB, free: 12.29 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002749/0.8725, allocations: 0.8586 MB / 0.9645 GB, free: 11.42 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8726, allocations: 301.1 kB / 0.9648 GB, free: 11.12 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004282/0.8769, allocations: 2.192 MB / 0.9669 GB, free: 8.918 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005785/0.8827, allocations: 3.826 MB / 0.9706 GB, free: 4.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.8931, allocations: 6.331 MB / 0.9768 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.606e-05/0.8932, allocations: 12 kB / 0.9768 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01477/0.9079, allocations: 6.753 MB / 0.9834 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.908, allocations: 57.92 kB / 0.9835 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/0.9081, allocations: 52 kB / 0.9835 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.9093, allocations: 437.3 kB / 0.984 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/0.9135, allocations: 1.006 MB / 0.9849 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3704/1.284, allocations: 5.372 MB / 0.9902 GB, free: 208.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/1.289, allocations: 291 kB / 0.9905 GB, free: 208.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007374/1.289, allocations: 216.7 kB / 0.9907 GB, free: 208.4 MB / 0.8106 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.004653/1.294, allocations: 2.484 MB / 0.9931 GB, free: 208.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/1.295, allocations: 0.4883 MB / 0.9936 GB, free: 208.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009272/1.305, allocations: 5.209 MB / 0.9987 GB, free: 206.6 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/1.305, allocations: 31.72 kB / 0.9987 GB, free: 206.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.305, allocations: 8.5 kB / 0.9987 GB, free: 206.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006697/1.311, allocations: 4.516 MB / 1.003 GB, free: 204.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/1.331, allocations: 10.43 MB / 1.013 GB, free: 200.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/1.331, allocations: 1.031 kB / 1.013 GB, free: 200.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002785/1.334, allocations: 0.6425 MB / 1.014 GB, free: 200.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009091/1.334, allocations: 371.4 kB / 1.014 GB, free: 200.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003312/1.335, allocations: 82.14 kB / 1.014 GB, free: 200.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00497/1.34, allocations: 5.289 MB / 1.02 GB, free: 196.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.34, allocations: 1.062 kB / 1.02 GB, free: 196.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/1.352, allocations: 7.683 MB / 1.027 GB, free: 194.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003201/1.355, allocations: 1.079 MB / 1.028 GB, free: 193.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/1.356, allocations: 62.72 kB / 1.028 GB, free: 193.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003554/1.36, allocations: 195.4 kB / 1.028 GB, free: 193.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/1.36, allocations: 209.8 kB / 1.029 GB, free: 193.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004028/1.361, allocations: 141.8 kB / 1.029 GB, free: 193.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.006721/1.367, allocations: 3.385 MB / 1.032 GB, free: 191.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.367, allocations: 0 / 1.032 GB, free: 191.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007298/1.375, allocations: 2.087 MB / 1.034 GB, free: 191.2 MB / 0.8106 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.001258/1.376, allocations: 480.5 kB / 1.034 GB, free: 191 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007815/1.384, allocations: 5.261 MB / 1.04 GB, free: 188.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.384, allocations: 0 / 1.04 GB, free: 188.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00318/1.387, allocations: 2.371 MB / 1.042 GB, free: 186.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0124/1.399, allocations: 2.751 MB / 1.045 GB, free: 185.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/1.423, allocations: 13.98 MB / 1.058 GB, free: 173.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005457/1.428, allocations: 4.138 MB / 1.062 GB, free: 169.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005763/1.434, allocations: 1.877 MB / 1.064 GB, free: 167.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/1.436, allocations: 440.3 kB / 1.065 GB, free: 166.9 MB / 0.8106 GB Notification: Performance of SimCode: time 9.72e-07/1.436, allocations: 0 / 1.065 GB, free: 166.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.1313/1.567, allocations: 103.1 MB / 1.165 GB, free: 65.46 MB / 0.8106 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.970054867095314] Failed to read output from testmodel.py, exit status != 0: 1.575812701950781 1.5846259120000001 0.908016939 Calling exit ...