Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E") translateModel(ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 111.1 kB / 16.41 MB, free: 5.992 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.001776/0.001776, allocations: 196.6 kB / 17.34 MB, free: 5.602 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7441/0.7441, allocations: 97.65 MB / 388.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 82.67 kB / 0.5268 GB, free: 38.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1158, allocations: 69.24 MB / 0.5944 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E): time 0.008437/0.1242, allocations: 4.962 MB / 0.5993 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1252, allocations: 0.623 MB / 0.5999 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.1253, allocations: 0 / 0.5999 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.1256, allocations: 35.77 kB / 0.5999 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.1281, allocations: 1.266 MB / 0.6011 GB, free: 9.574 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1284, allocations: 102.5 kB / 0.6012 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.1287, allocations: 175.3 kB / 0.6014 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.1288, allocations: 7.984 kB / 0.6014 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.1325, allocations: 3.123 MB / 0.6045 GB, free: 6.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.1327, allocations: 59.7 kB / 0.6045 GB, free: 6.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1327, allocations: 4 kB / 0.6045 GB, free: 6.098 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00467/0.1374, allocations: 4.163 MB / 0.6086 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.735e-05/0.1374, allocations: 19.97 kB / 0.6086 GB, free: 1.898 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.1375, allocations: 47.8 kB / 0.6087 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.138, allocations: 243.2 kB / 0.6089 GB, free: 1.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.138, allocations: 0 / 0.6089 GB, free: 1.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.138, allocations: 0 / 0.6089 GB, free: 1.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.138, allocations: 4 kB / 0.6089 GB, free: 1.609 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006307/0.1386, allocations: 429 kB / 0.6093 GB, free: 1.145 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1387, allocations: 8.031 kB / 0.6093 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.1391, allocations: 32.86 kB / 0.6093 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1393, allocations: 200.2 kB / 0.6095 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1394, allocations: 12.31 kB / 0.6095 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1394, allocations: 19.88 kB / 0.6096 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.1396, allocations: 133.1 kB / 0.6097 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1396, allocations: 0 / 0.6097 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1397, allocations: 7.984 kB / 0.6097 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1397, allocations: 4 kB / 0.6097 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.1399, allocations: 107.9 kB / 0.6098 GB, free: 0.5742 MB / 462.1 MB 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.0008259/0.1407, allocations: 0.6645 MB / 0.6105 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1408, allocations: 78.55 kB / 0.6105 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.288e-05/0.1409, allocations: 36.84 kB / 0.6106 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007225/0.1416, allocations: 0.7998 MB / 0.6113 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.1417, allocations: 42.56 kB / 0.6114 GB, free: 14.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1417, allocations: 0 / 0.6114 GB, free: 14.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003249/0.142, allocations: 124.9 kB / 0.6115 GB, free: 14.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.142, allocations: 59.33 kB / 0.6116 GB, free: 14.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1422, allocations: 117.8 kB / 0.6117 GB, free: 14.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1422, allocations: 25.7 kB / 0.6117 GB, free: 14.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.1423, allocations: 99.98 kB / 0.6118 GB, free: 14.22 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.1423, allocations: 51.52 kB / 0.6118 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.1424, allocations: 37.7 kB / 0.6119 GB, free: 14.13 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1425, allocations: 326.8 kB / 0.6122 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.1426, allocations: 23.98 kB / 0.6122 GB, free: 13.78 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/0.1427, allocations: 65.08 kB / 0.6123 GB, free: 13.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1428, allocations: 113.3 kB / 0.6124 GB, free: 13.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1428, allocations: 0 / 0.6124 GB, free: 13.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002302/0.1431, allocations: 133.5 kB / 0.6125 GB, free: 13.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1431, allocations: 8 kB / 0.6125 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1431, allocations: 160 / 0.6125 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.1431, allocations: 12.31 kB / 0.6125 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1432, allocations: 31.92 kB / 0.6126 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1432, allocations: 7.984 kB / 0.6126 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.1433, allocations: 19.89 kB / 0.6126 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1433, allocations: 7.938 kB / 0.6126 GB, free: 13.34 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001199/0.1434, allocations: 125.8 kB / 0.6127 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.1435, allocations: 11.95 kB / 0.6127 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.1438, allocations: 150.9 kB / 0.6129 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.1438, allocations: 11.97 kB / 0.6129 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1438, allocations: 0 / 0.6129 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1438, allocations: 0 / 0.6129 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/0.1443, allocations: 390.3 kB / 0.6133 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1443, allocations: 0 / 0.6133 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.1444, allocations: 20 kB / 0.6133 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1444, allocations: 0 / 0.6133 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1444, allocations: 3.984 kB / 0.6133 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1444, allocations: 8 kB / 0.6133 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1444, allocations: 0 / 0.6133 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1447, allocations: 208.9 kB / 0.6135 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1448, allocations: 97.05 kB / 0.6136 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.1448, allocations: 0 / 0.6136 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.1449, allocations: 4 kB / 0.6136 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.1449, allocations: 7.984 kB / 0.6136 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.145, allocations: 15.98 kB / 0.6136 GB, free: 12.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.795e-05/0.145, allocations: 87.28 kB / 0.6137 GB, free: 12.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.145, allocations: 0 / 0.6137 GB, free: 12.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.1454, allocations: 59.86 kB / 0.6137 GB, free: 12.07 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002956/0.1457, allocations: 166.4 kB / 0.6139 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1459, allocations: 79.84 kB / 0.614 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1459, allocations: 0 / 0.614 GB, free: 11.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.64e-05/0.1459, allocations: 31.98 kB / 0.614 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.1464, allocations: 62.8 kB / 0.6141 GB, free: 11.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.1468, allocations: 235.4 kB / 0.6143 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1472, allocations: 0.6967 MB / 0.615 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.1473, allocations: 32.41 kB / 0.615 GB, free: 10.72 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.1473, allocations: 19.44 kB / 0.615 GB, free: 10.7 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1473, allocations: 4 kB / 0.615 GB, free: 10.7 MB / 478.1 MB Notification: Performance of Templates: time 0.006343/0.1537, allocations: 2.454 MB / 0.6174 GB, free: 8.277 MB / 478.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E.sim & ./ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E -abortSlowSimulation -alarm=1200 -s cvode -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100E.pipe 2>&1)