Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 119.4 kB / 16.42 MB, free: 6.504 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.001028/0.001029, allocations: 190.6 kB / 17.35 MB, free: 5.758 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.309/1.309, 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.002091/0.002091, allocations: 290 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9318/0.9318, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3846, allocations: 86.97 MB / 0.767 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.1363/0.5209, allocations: 151.9 MB / 0.9153 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4376/0.9585, allocations: 44.16 MB / 0.9585 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007222/0.9658, allocations: 209.9 kB / 0.9587 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007402/0.9733, allocations: 2.472 MB / 0.9611 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.9889, allocations: 5.85 MB / 0.9668 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.9994, allocations: 4.821 MB / 0.9715 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.03782/1.037, allocations: 43.89 MB / 1.014 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03106/1.068, allocations: 23.09 MB / 1.037 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03193/1.1, allocations: 15.94 MB / 1.052 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02361/1.124, allocations: 13.16 MB / 1.065 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.006891/1.131, allocations: 2.34 MB / 1.068 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01668/1.148, allocations: 4.783 MB / 1.072 GB, free: 6.828 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.008833/1.156, allocations: 5.211 MB / 1.077 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.02222/1.179, allocations: 10.79 MB / 1.088 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.04011/1.219, allocations: 31.91 MB / 1.119 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.219, allocations: 0 / 1.119 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/1.219, allocations: 4 kB / 1.119 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0009314/1.22, allocations: 0 / 1.119 GB, free: 7.664 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.05091/1.271, allocations: 19.53 MB / 1.138 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.271, allocations: 15.97 kB / 1.138 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009769/1.281, allocations: 1.926 MB / 1.14 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03145/1.312, allocations: 15.33 MB / 1.155 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009087/1.313, allocations: 0.9647 MB / 1.156 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004408/1.317, allocations: 1.297 MB / 1.157 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04322/1.361, allocations: 19.29 MB / 1.176 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005406/1.361, allocations: 47.59 kB / 1.176 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00371/1.365, allocations: 0.5257 MB / 1.177 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003357/1.365, allocations: 351.9 kB / 1.177 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03734/1.403, allocations: 16.61 MB / 1.193 GB, free: 11.3 MB / 0.8887 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.1291/1.532, allocations: 86.69 MB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01962/1.551, allocations: 12.24 MB / 1.29 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01004/1.562, allocations: 6.232 MB / 1.296 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05802/1.62, allocations: 28.37 MB / 1.324 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/1.62, allocations: 120.7 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.6592/2.279, allocations: 0.7428 MB / 1.324 GB, free: 437.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=651): time 1.659e-05/2.279, allocations: 0 / 1.324 GB, free: 437.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=651): time 0.04196/2.321, allocations: 17.86 MB / 1.342 GB, free: 431.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/2.321, allocations: 123.6 kB / 1.342 GB, free: 431.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01912/2.34, allocations: 13.36 MB / 1.355 GB, free: 427 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001769/2.342, allocations: 185.9 kB / 1.355 GB, free: 426.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.004791/2.347, allocations: 7.23 MB / 1.362 GB, free: 422.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002482/2.349, allocations: 2.291 MB / 1.365 GB, free: 420.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003522/2.353, allocations: 2.39 MB / 1.367 GB, free: 419.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/2.353, allocations: 308.8 kB / 1.367 GB, free: 418.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007228/2.36, allocations: 5.923 MB / 1.373 GB, free: 416.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009354/2.369, allocations: 9.889 MB / 1.383 GB, free: 407.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01735/2.387, allocations: 15.61 MB / 1.398 GB, free: 390.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.243e-05/2.387, allocations: 36 kB / 1.398 GB, free: 390.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=1503) (initialization): time 0.02963/2.417, allocations: 19.02 MB / 1.416 GB, free: 371 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/2.417, allocations: 56 kB / 1.416 GB, free: 371 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/2.417, allocations: 130 kB / 1.417 GB, free: 370.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08801/2.505, allocations: 11.98 MB / 1.428 GB, free: 358.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009091/2.514, allocations: 2.443 MB / 1.431 GB, free: 356.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/2.528, allocations: 20.93 MB / 1.451 GB, free: 334.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/2.539, allocations: 0.7134 MB / 1.452 GB, free: 334 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002054/2.541, allocations: 0.5468 MB / 1.452 GB, free: 333.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01634/2.558, allocations: 11.11 MB / 1.463 GB, free: 322.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009994/2.568, allocations: 9.889 MB / 1.473 GB, free: 310.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01639/2.584, allocations: 15.59 MB / 1.488 GB, free: 293.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.649e-05/2.584, allocations: 39.91 kB / 1.488 GB, free: 293.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=1503) (initialization_lambda0): time 0.02968/2.614, allocations: 18.99 MB / 1.507 GB, free: 274.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/2.614, allocations: 62.97 kB / 1.507 GB, free: 274.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/2.614, allocations: 124 kB / 1.507 GB, free: 274 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08672/2.701, allocations: 11.97 MB / 1.519 GB, free: 262 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008566/2.71, allocations: 2.394 MB / 1.521 GB, free: 259.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/2.723, allocations: 19.15 MB / 1.54 GB, free: 239.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.734, allocations: 0.6864 MB / 1.54 GB, free: 239 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/2.736, allocations: 0.5546 MB / 1.541 GB, free: 238.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 573 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1269): * Single equations (assignments): 1251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(2,16), (2,16), (2,16), (2,16), (2,16), (2,16), (2,17), (2,17), (2,17), (2,17), (2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.002169/2.738, allocations: 0.9018 MB / 1.542 GB, free: 237.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003142/2.742, allocations: 1.177 MB / 1.543 GB, free: 236.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/2.758, allocations: 11.65 MB / 1.554 GB, free: 224.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01201/2.77, allocations: 9.656 MB / 1.564 GB, free: 214.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/2.77, allocations: 4 kB / 1.564 GB, free: 214.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007004/2.777, allocations: 2.591 MB / 1.566 GB, free: 212.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002737/2.78, allocations: 132 kB / 1.566 GB, free: 212.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00679/2.787, allocations: 391.3 kB / 1.567 GB, free: 211.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00071/2.787, allocations: 376.7 kB / 1.567 GB, free: 211.3 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01916/2.807, allocations: 12.16 MB / 1.579 GB, free: 199.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01848/2.825, allocations: 15.75 MB / 1.594 GB, free: 183.3 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004629/2.83, allocations: 4.547 MB / 1.599 GB, free: 178.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.01394/2.844, allocations: 9.181 MB / 1.608 GB, free: 169.6 MB / 1.014 GB Notification: Performance of Backend: time 8.72e-07/2.844, allocations: 0 / 1.608 GB, free: 169.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.03675/2.88, allocations: 19.92 MB / 1.627 GB, free: 149.9 MB / 1.014 GB Notification: Performance of SimCode: time 0.05953/2.94, allocations: 34.95 MB / 1.661 GB, free: 115.2 MB / 1.014 GB Notification: Performance of Templates: time 1.015/3.955, allocations: 312.6 MB / 1.967 GB, free: 234.3 MB / 1.014 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)