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.001487/0.001487, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001717/0.001717, allocations: 183.9 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 285.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9374/0.9374, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 91.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3776, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.Stratified): time 0.05181/0.4295, allocations: 56.19 MB / 0.8219 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02207/0.4516, allocations: 17.47 MB / 0.839 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.454, allocations: 79.56 kB / 0.8391 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.4565, allocations: 0.9704 MB / 0.84 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006225/0.4627, allocations: 2.448 MB / 0.8424 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.4672, allocations: 1.811 MB / 0.8442 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0273/0.4945, allocations: 29.35 MB / 0.8728 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01775/0.5123, allocations: 14.6 MB / 0.8871 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/0.5292, allocations: 9.928 MB / 0.8968 GB, free: 14.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01346/0.5427, allocations: 8.806 MB / 0.9054 GB, free: 5.789 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003192/0.5459, allocations: 1.301 MB / 0.9066 GB, free: 4.488 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00738/0.5533, allocations: 2.49 MB / 0.9091 GB, free: 1.996 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004162/0.5575, allocations: 3.237 MB / 0.9122 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01071/0.5682, allocations: 6.52 MB / 0.9186 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02021/0.5884, allocations: 18.38 MB / 0.9366 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.5885, allocations: 0 / 0.9366 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.966e-06/0.5885, allocations: 4 kB / 0.9366 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004957/0.589, allocations: 3.938 kB / 0.9366 GB, free: 5.766 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.02635/0.6153, allocations: 11.7 MB / 0.948 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6154, allocations: 8.031 kB / 0.948 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/0.6204, allocations: 1.183 MB / 0.9492 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6159/1.236, allocations: 9.308 MB / 0.9582 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000712/1.237, allocations: 0.6102 MB / 0.9588 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/1.24, allocations: 0.8205 MB / 0.9596 GB, free: 166 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02646/1.266, allocations: 12.53 MB / 0.9719 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003124/1.267, allocations: 23.06 kB / 0.9719 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002305/1.269, allocations: 355.2 kB / 0.9722 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/1.269, allocations: 247.5 kB / 0.9725 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/1.287, allocations: 10.42 MB / 0.9827 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.05349/1.341, allocations: 48.93 MB / 1.03 GB, free: 104.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007557/1.348, allocations: 6.266 MB / 1.037 GB, free: 98.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005775/1.354, allocations: 4.923 MB / 1.041 GB, free: 93.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/1.355, allocations: 0.816 MB / 1.042 GB, free: 92.15 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004838/1.36, allocations: 3.431 MB / 1.046 GB, free: 88.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002734/1.363, allocations: 462.4 kB / 1.046 GB, free: 88.24 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=449): time 1.103e-05/1.363, allocations: 0 / 1.046 GB, free: 88.24 MB / 0.7169 GB Notification: Performance of matching and sorting (n=449): time 0.01243/1.375, allocations: 8.904 MB / 1.055 GB, free: 79.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/1.375, allocations: 162.2 kB / 1.055 GB, free: 79.12 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/1.386, allocations: 7.72 MB / 1.062 GB, free: 71.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007952/1.387, allocations: 113.7 kB / 1.062 GB, free: 71.31 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00312/1.39, allocations: 4.321 MB / 1.067 GB, free: 66.97 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/1.392, allocations: 1.56 MB / 1.068 GB, free: 65.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002046/1.394, allocations: 1.132 MB / 1.069 GB, free: 64.27 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.39e-05/1.394, allocations: 305.1 kB / 1.07 GB, free: 63.96 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/1.398, allocations: 3.048 MB / 1.073 GB, free: 60.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00456/1.403, allocations: 4.901 MB / 1.077 GB, free: 55.17 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008775/1.411, allocations: 8.612 MB / 1.086 GB, free: 45.71 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.045e-05/1.411, allocations: 16 kB / 1.086 GB, free: 45.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.0128/1.424, allocations: 8.901 MB / 1.094 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-05/1.424, allocations: 95.45 kB / 1.095 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.005e-05/1.424, allocations: 63.94 kB / 1.095 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.032e-05/1.425, allocations: 95.83 kB / 1.095 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/1.429, allocations: 1.361 MB / 1.096 GB, free: 35.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/1.429, allocations: 127.5 kB / 1.096 GB, free: 35.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005511/1.435, allocations: 371.2 kB / 1.097 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005432/1.435, allocations: 280 kB / 1.097 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00768/1.443, allocations: 6.171 MB / 1.103 GB, free: 28.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004509/1.448, allocations: 4.898 MB / 1.108 GB, free: 22.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008814/1.456, allocations: 8.608 MB / 1.116 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.8e-05/1.456, allocations: 16 kB / 1.116 GB, free: 13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=754) (initialization_lambda0): time 0.01279/1.469, allocations: 8.896 MB / 1.125 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-05/1.469, allocations: 91.39 kB / 1.125 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.778e-05/1.469, allocations: 56 kB / 1.125 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.634e-05/1.469, allocations: 92.75 kB / 1.125 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/1.474, allocations: 1.365 MB / 1.126 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001246/1.474, allocations: 131.3 kB / 1.126 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005782/1.48, allocations: 371.2 kB / 1.127 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006676/1.481, allocations: 280 kB / 1.127 GB, free: 1.695 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.001504/1.482, allocations: 0.6226 MB / 1.128 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/1.485, allocations: 0.7219 MB / 1.128 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.497, allocations: 7.146 MB / 1.135 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009077/1.507, allocations: 5.846 MB / 1.141 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.507, allocations: 0 / 1.141 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003998/1.511, allocations: 1.621 MB / 1.143 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001923/1.513, allocations: 87.98 kB / 1.143 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005126/1.518, allocations: 283.5 kB / 1.143 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000569/1.518, allocations: 251.1 kB / 1.143 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01275/1.531, allocations: 7.073 MB / 1.15 GB, free: 9.875 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01676/1.548, allocations: 11.38 MB / 1.161 GB, free: 14.44 MB / 0.7638 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004769/1.553, allocations: 3.205 MB / 1.164 GB, free: 11.23 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.01007/1.563, allocations: 5.421 MB / 1.17 GB, free: 5.84 MB / 0.7638 GB Notification: Performance of Backend: time 7.81e-07/1.563, allocations: 0 / 1.17 GB, free: 5.84 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.02187/1.585, allocations: 9.581 MB / 1.179 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of SimCode: time 0.04658/1.631, allocations: 21.06 MB / 1.2 GB, free: 7.273 MB / 0.795 GB Notification: Performance of Templates: time 0.5529/2.184, 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)