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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 110.7 kB / 16.41 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001141, allocations: 189.5 kB / 17.34 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002193/0.002193, allocations: 284.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9511/0.9511, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 107.8 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.5239, allocations: 86.97 MB / 0.767 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05192/0.5759, allocations: 55.98 MB / 0.8217 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02442/0.6004, allocations: 17.96 MB / 0.8392 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/0.6037, allocations: 75.56 kB / 0.8393 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0032/0.6069, allocations: 0.8924 MB / 0.8402 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007834/0.6148, allocations: 2.51 MB / 0.8426 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00427/0.6191, allocations: 1.539 MB / 0.8441 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02312/0.6422, allocations: 21.24 MB / 0.8649 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01449/0.6568, allocations: 10.69 MB / 0.8753 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01488/0.6717, allocations: 7.233 MB / 0.8824 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/0.6836, allocations: 6.358 MB / 0.8886 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003549/0.6872, allocations: 0.9375 MB / 0.8895 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007384/0.6946, allocations: 1.702 MB / 0.8912 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00477/0.6994, allocations: 2.337 MB / 0.8935 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01121/0.7106, allocations: 4.707 MB / 0.8981 GB, free: 13.18 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02095/0.7316, allocations: 13.2 MB / 0.9109 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.7317, allocations: 4 kB / 0.9109 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7317, allocations: 0 / 0.9109 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004839/0.7322, allocations: 0 / 0.9109 GB, free: 15.94 MB / 0.6856 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.02328/0.7555, allocations: 8.51 MB / 0.9193 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7555, allocations: 16.02 kB / 0.9193 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/0.7604, allocations: 0.8547 MB / 0.9201 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01543/0.7758, allocations: 6.696 MB / 0.9266 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/0.7764, allocations: 464.3 kB / 0.9271 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002403/0.7788, allocations: 0.5975 MB / 0.9277 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02291/0.8017, allocations: 9.028 MB / 0.9365 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002846/0.8021, allocations: 23.78 kB / 0.9365 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001993/0.8041, allocations: 264 kB / 0.9368 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.8043, allocations: 183.9 kB / 0.9369 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/0.8218, allocations: 7.449 MB / 0.9442 GB, free: 13.37 MB / 0.7169 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.4743/1.296, allocations: 35.99 MB / 0.9794 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0058/1.302, allocations: 4.285 MB / 0.9835 GB, free: 150 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003891/1.306, allocations: 3.309 MB / 0.9868 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.307, allocations: 0.9543 MB / 0.9877 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003177/1.31, allocations: 2.382 MB / 0.99 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002329/1.313, allocations: 366.1 kB / 0.9904 GB, free: 146 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 8.256e-06/1.313, allocations: 0 / 0.9904 GB, free: 146 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01078/1.323, allocations: 7.137 MB / 0.9973 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/1.323, allocations: 89.84 kB / 0.9974 GB, free: 141.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006998/1.33, allocations: 5.659 MB / 1.003 GB, free: 136.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006562/1.331, allocations: 93.69 kB / 1.003 GB, free: 136.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002185/1.333, allocations: 3.195 MB / 1.006 GB, free: 132.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.335, allocations: 1.112 MB / 1.007 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/1.336, allocations: 0.8595 MB / 1.008 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.243e-05/1.336, allocations: 304.8 kB / 1.008 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/1.338, allocations: 2.167 MB / 1.011 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003093/1.341, allocations: 3.691 MB / 1.014 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005886/1.347, allocations: 6.33 MB / 1.02 GB, free: 117.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.322e-05/1.347, allocations: 12 kB / 1.02 GB, free: 117.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009039/1.356, allocations: 6.783 MB / 1.027 GB, free: 110.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/1.356, allocations: 55.72 kB / 1.027 GB, free: 110.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.577e-05/1.356, allocations: 52.88 kB / 1.027 GB, free: 110.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008337/1.357, allocations: 429.4 kB / 1.027 GB, free: 109.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/1.36, allocations: 1.007 MB / 1.028 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/1.365, allocations: 5.7 MB / 1.034 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004524/1.369, allocations: 291.4 kB / 1.034 GB, free: 102.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004751/1.37, allocations: 216 kB / 1.034 GB, free: 102.2 MB / 0.7169 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.00363/1.373, allocations: 2.476 MB / 1.037 GB, free: 99.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.375, allocations: 0.5327 MB / 1.037 GB, free: 99.21 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006933/1.382, allocations: 5.269 MB / 1.043 GB, free: 93.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/1.382, allocations: 35.98 kB / 1.043 GB, free: 93.87 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.382, allocations: 7.938 kB / 1.043 GB, free: 93.86 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004944/1.387, allocations: 4.53 MB / 1.047 GB, free: 89.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/1.404, allocations: 11.97 MB / 1.059 GB, free: 77.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.404, allocations: 0 / 1.059 GB, free: 77.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/1.406, allocations: 0.6438 MB / 1.059 GB, free: 76.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/1.407, allocations: 369.3 kB / 1.06 GB, free: 76.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/1.407, allocations: 87.94 kB / 1.06 GB, free: 76.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004028/1.411, allocations: 5.616 MB / 1.065 GB, free: 70.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.411, allocations: 0 / 1.065 GB, free: 70.21 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009448/1.42, allocations: 7.769 MB / 1.073 GB, free: 62.35 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/1.423, allocations: 1.155 MB / 1.074 GB, free: 61.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008821/1.424, allocations: 63.98 kB / 1.074 GB, free: 61.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/1.427, allocations: 205 kB / 1.074 GB, free: 60.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/1.427, allocations: 198.2 kB / 1.074 GB, free: 60.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/1.428, allocations: 143.9 kB / 1.075 GB, free: 60.58 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004886/1.433, allocations: 3.959 MB / 1.078 GB, free: 56.64 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.092e-06/1.433, allocations: 0 / 1.078 GB, free: 56.64 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005427/1.438, allocations: 2.012 MB / 1.08 GB, free: 54.64 MB / 0.7169 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.001165/1.439, allocations: 0.4891 MB / 1.081 GB, free: 54.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006659/1.446, allocations: 5.444 MB / 1.086 GB, free: 48.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.446, allocations: 4 kB / 1.086 GB, free: 48.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002765/1.449, allocations: 2.545 MB / 1.089 GB, free: 46.12 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01356/1.462, allocations: 3.393 MB / 1.092 GB, free: 42.83 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/1.482, allocations: 13.93 MB / 1.106 GB, free: 28.86 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/1.485, allocations: 4.553 MB / 1.11 GB, free: 24.28 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/1.487, allocations: 495.2 kB / 1.111 GB, free: 23.8 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/1.487, allocations: 0 / 1.111 GB, free: 23.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.7765/2.264, allocations: 188.9 MB / 1.295 GB, free: 303.2 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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)