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.001399/0.001399, allocations: 77.08 kB / 19.18 MB, free: 2.527 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.001524/0.001524, allocations: 167.7 kB / 22.46 MB, free: 5.359 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.002663/0.002663, allocations: 229.5 kB / 259.4 MB, free: 492 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 1.09/1.09, allocations: 138.4 MB / 454.3 MB, free: 2.035 MB / 366.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: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.6468 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/4.001e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4025/0.4025, allocations: 51.15 MB / 0.6967 GB, free: 25.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02821/0.4308, allocations: 16.78 MB / 0.7131 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004501/0.4353, allocations: 108.6 kB / 0.7132 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003762/0.439, allocations: 0.8992 MB / 0.7141 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009994/0.449, allocations: 2.744 MB / 0.7168 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005575/0.4546, allocations: 1.658 MB / 0.7184 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0254/0.48, allocations: 22.11 MB / 0.74 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/0.4954, allocations: 7.112 MB / 0.7469 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03403/0.5294, allocations: 10.1 MB / 0.7568 GB, free: 108 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01643/0.5459, allocations: 6.398 MB / 0.763 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00399/0.5498, allocations: 0.9414 MB / 0.764 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009073/0.5589, allocations: 1.594 MB / 0.7655 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.007108/0.566, allocations: 2.499 MB / 0.768 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01363/0.5797, allocations: 3.341 MB / 0.7712 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02542/0.6051, allocations: 13.48 MB / 0.7844 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6051, allocations: 0 / 0.7844 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6051, allocations: 0 / 0.7844 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005323/0.6056, allocations: 4 kB / 0.7844 GB, free: 3.785 MB / 0.6075 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.0259/0.6315, allocations: 8.567 MB / 0.7928 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6316, allocations: 9.344 kB / 0.7928 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005544/0.6371, allocations: 0.9605 MB / 0.7937 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01762/0.6547, allocations: 6.759 MB / 0.8003 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005592/0.6553, allocations: 460.6 kB / 0.8007 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/0.6579, allocations: 0.5979 MB / 0.8013 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02458/0.6825, allocations: 10.1 MB / 0.8112 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001759/0.6827, allocations: 15.88 kB / 0.8112 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/0.684, allocations: 263.9 kB / 0.8115 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000213/0.6842, allocations: 180 kB / 0.8116 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.703, allocations: 7.449 MB / 0.8189 GB, free: 15.68 MB / 0.6544 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.05632/0.7593, allocations: 26.31 MB / 0.8446 GB, free: 4.926 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007479/0.7668, allocations: 3.973 MB / 0.8485 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005722/0.7725, allocations: 3.037 MB / 0.8514 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.7737, allocations: 206.3 kB / 0.8516 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00628/0.78, allocations: 3.456 MB / 0.855 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003362/0.7833, allocations: 324.8 kB / 0.8553 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.835e-05/0.7833, allocations: 0 / 0.8553 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01884/0.8022, allocations: 6.938 MB / 0.8621 GB, free: 2.672 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.8023, allocations: 81.91 kB / 0.8622 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/0.8133, allocations: 4.989 MB / 0.8671 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008923/0.8142, allocations: 85.7 kB / 0.8671 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004287/0.8185, allocations: 3.267 MB / 0.8703 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002087/0.8206, allocations: 1.15 MB / 0.8714 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002975/0.8235, allocations: 0.8585 MB / 0.8723 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8237, allocations: 301.1 kB / 0.8726 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/0.8285, allocations: 2.196 MB / 0.8747 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006539/0.835, allocations: 3.826 MB / 0.8785 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/0.8478, allocations: 6.323 MB / 0.8846 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.268e-05/0.8478, allocations: 12 kB / 0.8846 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0176/0.8654, allocations: 6.757 MB / 0.8912 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.8656, allocations: 53.7 kB / 0.8913 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/0.8657, allocations: 48 kB / 0.8913 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.867, allocations: 441.6 kB / 0.8918 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005508/0.8725, allocations: 1.006 MB / 0.8927 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008928/0.8814, allocations: 5.371 MB / 0.898 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005567/0.887, allocations: 290.9 kB / 0.8983 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/0.8881, allocations: 220 kB / 0.8985 GB, free: 11.62 MB / 0.7325 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.006435/0.8946, allocations: 2.483 MB / 0.9009 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002379/0.8969, allocations: 0.4891 MB / 0.9014 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/0.9108, allocations: 5.198 MB / 0.9065 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-05/0.9108, allocations: 36 kB / 0.9065 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/0.9108, allocations: 8.031 kB / 0.9065 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00937/0.9202, allocations: 4.531 MB / 0.9109 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0341/0.9543, allocations: 10.43 MB / 0.9211 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/0.9543, allocations: 4 kB / 0.9211 GB, free: 4.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003544/0.9579, allocations: 0.6438 MB / 0.9217 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.959, allocations: 372.6 kB / 0.9221 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006468/0.9596, allocations: 83.95 kB / 0.9222 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006993/0.9666, allocations: 5.271 MB / 0.9273 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.9666, allocations: 7.938 kB / 0.9273 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/0.9837, allocations: 7.671 MB / 0.9348 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004422/0.9881, allocations: 1.08 MB / 0.9359 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002047/0.9902, allocations: 67.98 kB / 0.9359 GB, free: 4.672 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004353/0.9945, allocations: 199.6 kB / 0.9361 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008411/0.9954, allocations: 214 kB / 0.9363 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007304/0.9961, allocations: 139.9 kB / 0.9365 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.008384/1.004, allocations: 3.388 MB / 0.9398 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/1.004, allocations: 4 kB / 0.9398 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.3328/1.337, allocations: 2.078 MB / 0.9418 GB, free: 233 MB / 0.7637 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.001778/1.339, allocations: 478.1 kB / 0.9423 GB, free: 232.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009145/1.348, allocations: 5.264 MB / 0.9474 GB, free: 232.1 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/1.348, allocations: 0 / 0.9474 GB, free: 232.1 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004211/1.352, allocations: 2.373 MB / 0.9497 GB, free: 231.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01648/1.369, allocations: 2.759 MB / 0.9524 GB, free: 230.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/1.396, allocations: 13.67 MB / 0.9658 GB, free: 224.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009163/1.405, allocations: 4.14 MB / 0.9698 GB, free: 223.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.009243/1.414, allocations: 1.874 MB / 0.9716 GB, free: 223.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002156/1.417, allocations: 440.2 kB / 0.9721 GB, free: 223.4 MB / 0.7637 GB Notification: Performance of SimCode: time 2.064e-06/1.417, allocations: 0 / 0.9721 GB, free: 223.4 MB / 0.7637 GB Notification: Performance of Templates: time 0.1552/1.572, allocations: 102.2 MB / 1.072 GB, free: 148.3 MB / 0.7637 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.222462013363838] Failed to read output from testmodel.py, exit status != 0: 1.584314875304699 1.591118259 0.983388596 Calling exit ...