Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8.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.TestJP8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8") translateModel(ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 105.9 kB / 16.41 MB, free: 6.492 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.001915/0.001915, allocations: 191.8 kB / 17.34 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7844/0.7844, allocations: 97.64 MB / 388.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 81.78 kB / 0.5268 GB, free: 38.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1031, allocations: 69.24 MB / 0.5944 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8): time 0.007784/0.1109, allocations: 4.93 MB / 0.5992 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1119, allocations: 0.6192 MB / 0.5998 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.112, allocations: 4 kB / 0.5998 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.1122, allocations: 35.7 kB / 0.5999 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.1138, allocations: 498 kB / 0.6004 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.114, allocations: 90.36 kB / 0.6004 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.1143, allocations: 187.2 kB / 0.6006 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1144, allocations: 8.219 kB / 0.6006 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008136/0.1152, allocations: 319.2 kB / 0.6009 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.847e-05/0.1153, allocations: 47.84 kB / 0.601 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1153, allocations: 4 kB / 0.601 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.1167, allocations: 0.8005 MB / 0.6018 GB, free: 8.945 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.1168, allocations: 19.86 kB / 0.6018 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.1169, allocations: 55.78 kB / 0.6018 GB, free: 8.871 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.1174, allocations: 231.3 kB / 0.6021 GB, free: 8.645 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1174, allocations: 0 / 0.6021 GB, free: 8.645 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1174, allocations: 0 / 0.6021 GB, free: 8.645 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1174, allocations: 0 / 0.6021 GB, free: 8.645 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006233/0.118, allocations: 425 kB / 0.6025 GB, free: 8.184 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.118, allocations: 8.031 kB / 0.6025 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.1185, allocations: 40.86 kB / 0.6025 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.1187, allocations: 207.4 kB / 0.6027 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1187, allocations: 4 kB / 0.6027 GB, free: 7.891 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1188, allocations: 8 kB / 0.6027 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.119, allocations: 145 kB / 0.6029 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1191, allocations: 0 / 0.6029 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.1191, allocations: 15.94 kB / 0.6029 GB, free: 7.707 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1191, allocations: 0 / 0.6029 GB, free: 7.707 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.1193, allocations: 118.3 kB / 0.603 GB, free: 7.594 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.0008847/0.1202, allocations: 0.7428 MB / 0.6037 GB, free: 6.773 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1203, allocations: 78.55 kB / 0.6038 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.1204, allocations: 36.59 kB / 0.6038 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000917/0.1213, allocations: 0.966 MB / 0.6048 GB, free: 5.465 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.1214, allocations: 38.81 kB / 0.6048 GB, free: 5.418 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1214, allocations: 0 / 0.6048 GB, free: 5.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003475/0.1217, allocations: 133.5 kB / 0.6049 GB, free: 5.281 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1218, allocations: 59.41 kB / 0.605 GB, free: 5.211 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1219, allocations: 121.7 kB / 0.6051 GB, free: 5.082 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1219, allocations: 25.7 kB / 0.6051 GB, free: 5.051 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.255e-05/0.122, allocations: 107.9 kB / 0.6052 GB, free: 4.941 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.122, allocations: 43.64 kB / 0.6053 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.1221, allocations: 33.72 kB / 0.6053 GB, free: 4.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1222, allocations: 326.7 kB / 0.6056 GB, free: 4.531 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.1223, allocations: 31.98 kB / 0.6056 GB, free: 4.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1224, allocations: 73.94 kB / 0.6057 GB, free: 4.406 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.1226, allocations: 121.9 kB / 0.6058 GB, free: 4.266 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1226, allocations: 0 / 0.6058 GB, free: 4.266 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000257/0.1228, allocations: 137.5 kB / 0.606 GB, free: 4.125 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1229, allocations: 8 kB / 0.606 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1229, allocations: 3.984 kB / 0.606 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1229, allocations: 8.188 kB / 0.606 GB, free: 4.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.123, allocations: 35.92 kB / 0.606 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.123, allocations: 0 / 0.606 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.1231, allocations: 15.89 kB / 0.606 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.1231, allocations: 8 kB / 0.606 GB, free: 4.047 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.0001183/0.1232, allocations: 129.7 kB / 0.6062 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.1233, allocations: 7.953 kB / 0.6062 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.1236, allocations: 145.2 kB / 0.6063 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1236, allocations: 0 / 0.6063 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1236, allocations: 0 / 0.6063 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1236, allocations: 0 / 0.6063 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.1241, allocations: 394.4 kB / 0.6067 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1241, allocations: 0 / 0.6067 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.1242, allocations: 23.98 kB / 0.6067 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.1242, allocations: 0 / 0.6067 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1242, allocations: 4 kB / 0.6067 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.1242, allocations: 11.92 kB / 0.6067 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1242, allocations: 0 / 0.6067 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1245, allocations: 215.4 kB / 0.6069 GB, free: 3.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.1246, allocations: 100.9 kB / 0.607 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1246, allocations: 0 / 0.607 GB, free: 2.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1247, allocations: 11.94 kB / 0.607 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.1247, allocations: 11.97 kB / 0.607 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1247, allocations: 4 kB / 0.607 GB, free: 2.906 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.939e-05/0.1248, allocations: 99.2 kB / 0.6071 GB, free: 2.809 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1248, allocations: 0 / 0.6071 GB, free: 2.809 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.1252, allocations: 63.86 kB / 0.6072 GB, free: 2.746 MB / 462.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.0003/0.1255, allocations: 159 kB / 0.6074 GB, free: 2.582 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1257, allocations: 77.53 kB / 0.6074 GB, free: 2.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1257, allocations: 0 / 0.6074 GB, free: 2.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.566e-05/0.1257, allocations: 35.92 kB / 0.6075 GB, free: 2.473 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.1262, allocations: 40.33 kB / 0.6075 GB, free: 2.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.1266, allocations: 243.8 kB / 0.6077 GB, free: 2.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.127, allocations: 0.7006 MB / 0.6084 GB, free: 1.441 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.1271, allocations: 29.06 kB / 0.6084 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.1272, allocations: 19.44 kB / 0.6085 GB, free: 1.395 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1272, allocations: 4 kB / 0.6085 GB, free: 1.391 MB / 462.1 MB Notification: Performance of Templates: time 0.006611/0.1338, allocations: 2.457 MB / 0.6109 GB, free: 14.96 MB / 478.1 MB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8.sim & ./ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8 -abortSlowSimulation -alarm=1200 -s gbode -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Media.myMedia.Incompressible.Examples.TestJP8.pipe 2>&1)