Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified.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.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified") translateModel(BuildingSystems.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 114.3 kB / 16.42 MB, free: 6.496 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.001068/0.001068, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 287 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9638/0.9638, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 91.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3756, allocations: 86.98 MB / 0.767 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.Stratified): time 0.0517/0.4273, allocations: 56.19 MB / 0.8219 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02207/0.4494, allocations: 17.48 MB / 0.839 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.4519, allocations: 71.62 kB / 0.8391 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.4547, allocations: 0.9899 MB / 0.84 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006262/0.4611, allocations: 2.564 MB / 0.8425 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004289/0.4654, allocations: 1.807 MB / 0.8443 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02626/0.4916, allocations: 29.4 MB / 0.873 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01732/0.509, allocations: 14.6 MB / 0.8873 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01657/0.5256, allocations: 9.92 MB / 0.8969 GB, free: 14.52 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01311/0.5387, allocations: 8.81 MB / 0.9056 GB, free: 5.676 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003604/0.5424, allocations: 1.301 MB / 0.9068 GB, free: 4.375 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007989/0.5504, allocations: 2.49 MB / 0.9093 GB, free: 1.883 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004591/0.555, allocations: 3.245 MB / 0.9124 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01112/0.5661, allocations: 6.516 MB / 0.9188 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01876/0.5849, allocations: 18.38 MB / 0.9367 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5849, allocations: 0 / 0.9367 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5849, allocations: 0 / 0.9367 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004564/0.5854, allocations: 0 / 0.9367 GB, free: 5.656 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: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.02566/0.6111, allocations: 11.71 MB / 0.9482 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6111, allocations: 8.031 kB / 0.9482 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/0.6153, allocations: 1.179 MB / 0.9493 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6062/1.222, allocations: 9.309 MB / 0.9584 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008796/1.222, allocations: 0.6092 MB / 0.959 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002974/1.225, allocations: 0.8207 MB / 0.9598 GB, free: 166 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02317/1.249, allocations: 12.53 MB / 0.972 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/1.249, allocations: 33.78 kB / 0.9721 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009915/1.25, allocations: 358.5 kB / 0.9724 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000224/1.25, allocations: 245.8 kB / 0.9727 GB, free: 160.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/1.265, allocations: 10.42 MB / 0.9828 GB, free: 154.6 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.05495/1.32, allocations: 48.93 MB / 1.031 GB, free: 104.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007537/1.328, allocations: 6.253 MB / 1.037 GB, free: 97.97 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005535/1.333, allocations: 4.931 MB / 1.042 GB, free: 93.05 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/1.334, allocations: 0.8166 MB / 1.042 GB, free: 92.11 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004541/1.339, allocations: 3.426 MB / 1.046 GB, free: 88.65 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002594/1.341, allocations: 467.4 kB / 1.046 GB, free: 88.19 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=449): time 9.027e-06/1.341, allocations: 3.969 kB / 1.046 GB, free: 88.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=449): time 0.01163/1.353, allocations: 8.905 MB / 1.055 GB, free: 79.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/1.353, allocations: 158.2 kB / 1.055 GB, free: 79.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008976/1.362, allocations: 7.717 MB / 1.063 GB, free: 71.38 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000864/1.363, allocations: 113.7 kB / 1.063 GB, free: 71.26 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002968/1.366, allocations: 4.321 MB / 1.067 GB, free: 66.92 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.368, allocations: 1.563 MB / 1.068 GB, free: 65.36 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/1.369, allocations: 1.128 MB / 1.069 GB, free: 64.22 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/1.369, allocations: 308.3 kB / 1.07 GB, free: 63.92 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00367/1.373, allocations: 3.046 MB / 1.073 GB, free: 60.86 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/1.377, allocations: 4.905 MB / 1.078 GB, free: 55.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00918/1.387, allocations: 8.612 MB / 1.086 GB, free: 45.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.412e-05/1.387, allocations: 16 kB / 1.086 GB, free: 45.64 MB / 0.7169 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01261/1.399, allocations: 8.901 MB / 1.095 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/1.399, allocations: 98.08 kB / 1.095 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.137e-05/1.399, allocations: 63.94 kB / 1.095 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.573e-05/1.399, allocations: 92 kB / 1.095 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/1.404, allocations: 1.361 MB / 1.096 GB, free: 35.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-05/1.404, allocations: 135.5 kB / 1.096 GB, free: 34.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/1.41, allocations: 371.2 kB / 1.097 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005106/1.41, allocations: 280 kB / 1.097 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007594/1.418, allocations: 6.163 MB / 1.103 GB, free: 28.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00415/1.422, allocations: 4.901 MB / 1.108 GB, free: 22.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008155/1.43, allocations: 8.608 MB / 1.116 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.7e-05/1.43, allocations: 20 kB / 1.116 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of matching and sorting (n=754) (initialization_lambda0): time 0.01156/1.442, allocations: 8.897 MB / 1.125 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/1.442, allocations: 95.38 kB / 1.125 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.006e-05/1.442, allocations: 60 kB / 1.125 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.355e-05/1.442, allocations: 89.5 kB / 1.125 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/1.447, allocations: 1.362 MB / 1.126 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.449e-05/1.447, allocations: 123.6 kB / 1.127 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005941/1.453, allocations: 379.2 kB / 1.127 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000748/1.454, allocations: 272 kB / 1.127 GB, free: 1.641 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 (P.nextEventScaled,P.nextEvent,$PRE.P.nextEvent,P.last,P.b,P.a,TWat.nextEventScaled,TWat.nextEvent,$PRE.TWat.nextEvent,TWat.last,TWat.b,TWat.a,$whenCondition2,$whenCondition1,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001229/1.455, allocations: 0.6304 MB / 1.128 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/1.457, allocations: 0.718 MB / 1.129 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.468, allocations: 7.138 MB / 1.135 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008231/1.477, allocations: 5.842 MB / 1.141 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.477, allocations: 0 / 1.141 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004024/1.481, allocations: 1.621 MB / 1.143 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/1.482, allocations: 91.98 kB / 1.143 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004179/1.486, allocations: 284.4 kB / 1.143 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/1.487, allocations: 254.9 kB / 1.143 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01198/1.499, allocations: 7.073 MB / 1.15 GB, free: 9.828 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01592/1.515, allocations: 11.38 MB / 1.161 GB, free: 14.39 MB / 0.7638 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004074/1.519, allocations: 3.209 MB / 1.165 GB, free: 11.18 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.008156/1.527, allocations: 5.428 MB / 1.17 GB, free: 5.781 MB / 0.7638 GB Notification: Performance of Backend: time 3.7e-07/1.527, allocations: 0 / 1.17 GB, free: 5.781 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.01709/1.544, allocations: 9.566 MB / 1.179 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of SimCode: time 0.04107/1.585, allocations: 21.07 MB / 1.2 GB, free: 7.223 MB / 0.795 GB Notification: Performance of Templates: time 0.5491/2.134, allocations: 184.7 MB / 1.38 GB, free: 233.4 MB / 0.8732 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified.pipe 2>&1)