Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100.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.TestDowcal100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100") translateModel(ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 108.8 kB / 16.41 MB, free: 6.453 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.001382/0.001382, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7837/0.7837, allocations: 97.64 MB / 388.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003517/0.003517, allocations: 80.73 kB / 0.5268 GB, free: 38.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1138, allocations: 69.24 MB / 0.5944 GB, free: 468 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100): time 0.007281/0.1211, allocations: 4.963 MB / 0.5993 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.122, allocations: 0.6192 MB / 0.5999 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.1221, allocations: 0 / 0.5999 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1223, allocations: 35.77 kB / 0.5999 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.1244, allocations: 1.27 MB / 0.6012 GB, free: 9.531 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1247, allocations: 99.42 kB / 0.6013 GB, free: 9.438 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.125, allocations: 171.3 kB / 0.6014 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.125, allocations: 7.984 kB / 0.6014 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.1284, allocations: 3.131 MB / 0.6045 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1286, allocations: 55.7 kB / 0.6045 GB, free: 6.062 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1286, allocations: 4 kB / 0.6045 GB, free: 6.059 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004628/0.1332, allocations: 4.171 MB / 0.6086 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.1333, allocations: 19.92 kB / 0.6086 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.306e-05/0.1333, allocations: 51.72 kB / 0.6087 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004604/0.1338, allocations: 235.3 kB / 0.6089 GB, free: 1.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1338, allocations: 0 / 0.6089 GB, free: 1.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1338, allocations: 0 / 0.6089 GB, free: 1.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1338, allocations: 0 / 0.6089 GB, free: 1.57 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.0005676/0.1344, allocations: 430.8 kB / 0.6093 GB, free: 1.102 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1344, allocations: 8.031 kB / 0.6093 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.1348, allocations: 36.86 kB / 0.6094 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1351, allocations: 200.2 kB / 0.6095 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1351, allocations: 8.375 kB / 0.6096 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1351, allocations: 11.88 kB / 0.6096 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1354, allocations: 133.1 kB / 0.6097 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1354, allocations: 0 / 0.6097 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.1354, allocations: 8 kB / 0.6097 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1354, allocations: 4 kB / 0.6097 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.1356, allocations: 107.9 kB / 0.6098 GB, free: 0.5391 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.0008252/0.1364, allocations: 0.6645 MB / 0.6105 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.1366, allocations: 82.55 kB / 0.6105 GB, free: 15.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.1367, allocations: 36.84 kB / 0.6106 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/0.1374, allocations: 0.8037 MB / 0.6114 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1374, allocations: 30.56 kB / 0.6114 GB, free: 14.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1374, allocations: 0 / 0.6114 GB, free: 14.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003218/0.1377, allocations: 129.6 kB / 0.6115 GB, free: 14.51 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1378, allocations: 55.34 kB / 0.6116 GB, free: 14.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1379, allocations: 121.8 kB / 0.6117 GB, free: 14.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1379, allocations: 29.7 kB / 0.6117 GB, free: 14.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.138, allocations: 95.98 kB / 0.6118 GB, free: 14.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.138, allocations: 51.91 kB / 0.6118 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.1381, allocations: 37.7 kB / 0.6119 GB, free: 14.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1382, allocations: 318.8 kB / 0.6122 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.496e-05/0.1383, allocations: 23.98 kB / 0.6122 GB, free: 13.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.1384, allocations: 79.52 kB / 0.6123 GB, free: 13.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1385, allocations: 105.3 kB / 0.6124 GB, free: 13.53 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1385, allocations: 4 kB / 0.6124 GB, free: 13.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002309/0.1387, allocations: 141.1 kB / 0.6125 GB, free: 13.39 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1388, allocations: 4 kB / 0.6125 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1388, allocations: 4 kB / 0.6125 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1388, allocations: 3.938 kB / 0.6125 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1389, allocations: 35.92 kB / 0.6126 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1389, allocations: 0 / 0.6126 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.139, allocations: 16.05 kB / 0.6126 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.139, allocations: 12 kB / 0.6126 GB, free: 13.31 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.0001004/0.1391, allocations: 121.8 kB / 0.6127 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1391, allocations: 7.953 kB / 0.6127 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.1395, allocations: 153.9 kB / 0.6129 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1395, allocations: 0 / 0.6129 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1395, allocations: 0 / 0.6129 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.1395, allocations: 7.984 kB / 0.6129 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.14, allocations: 394.3 kB / 0.6133 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.14, allocations: 0 / 0.6133 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.635e-05/0.1401, allocations: 23.98 kB / 0.6133 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1401, allocations: 4 kB / 0.6133 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1401, allocations: 0 / 0.6133 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1401, allocations: 3.984 kB / 0.6133 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1401, allocations: 0 / 0.6133 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.1403, allocations: 216.9 kB / 0.6135 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.1404, allocations: 93.05 kB / 0.6136 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1404, allocations: 0 / 0.6136 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.1405, allocations: 8 kB / 0.6136 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.1405, allocations: 7.984 kB / 0.6136 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1406, allocations: 4 kB / 0.6136 GB, free: 12.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.053e-05/0.1406, allocations: 91.27 kB / 0.6137 GB, free: 12.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1406, allocations: 0 / 0.6137 GB, free: 12.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.141, allocations: 63.86 kB / 0.6137 GB, free: 12.03 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.0002803/0.1413, allocations: 163.3 kB / 0.6139 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1414, allocations: 80.09 kB / 0.614 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1414, allocations: 4 kB / 0.614 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/0.1415, allocations: 39.92 kB / 0.614 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.1419, allocations: 51.81 kB / 0.6141 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.1424, allocations: 241.6 kB / 0.6143 GB, free: 11.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1427, allocations: 0.6928 MB / 0.615 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.1429, allocations: 28.8 kB / 0.615 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.1429, allocations: 19.44 kB / 0.615 GB, free: 10.66 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1429, allocations: 0 / 0.615 GB, free: 10.66 MB / 478.1 MB Notification: Performance of Templates: time 0.006266/0.1492, allocations: 2.463 MB / 0.6174 GB, free: 8.234 MB / 478.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100.sim & ./ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100 -abortSlowSimulation -alarm=1200 -s gbode -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestDowcal100.pipe 2>&1)