Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 211 kB / 22.24 MB, free: 4.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.273/1.273, allocations: 203.8 MB / 0.5042 GB, free: 4.605 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 71.88 kB / 0.7187 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5617, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03687/0.5985, allocations: 38.45 MB / 0.8558 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.6162, allocations: 9.676 MB / 0.8653 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.6189, allocations: 79.62 kB / 0.8654 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.621, allocations: 0.6474 MB / 0.866 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006376/0.6273, allocations: 2.004 MB / 0.8679 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.631, allocations: 1.23 MB / 0.8691 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005553/0.6365, allocations: 3.466 MB / 0.8725 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.6381, allocations: 0.8098 MB / 0.8733 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.6422, allocations: 1.481 MB / 0.8748 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.6439, allocations: 0.883 MB / 0.8756 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.6441, allocations: 99.5 kB / 0.8757 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.6463, allocations: 0.7133 MB / 0.8764 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.6467, allocations: 295.8 kB / 0.8767 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007647/0.6474, allocations: 0.5099 MB / 0.8772 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.6507, allocations: 1.97 MB / 0.8791 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6507, allocations: 0 / 0.8791 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6507, allocations: 0 / 0.8791 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.6507, allocations: 1.469 kB / 0.8791 GB, free: 3.402 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00292/0.6537, allocations: 1.477 MB / 0.8806 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6537, allocations: 10.56 kB / 0.8806 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.6541, allocations: 145.5 kB / 0.8807 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.6562, allocations: 1.063 MB / 0.8818 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.6563, allocations: 59.89 kB / 0.8818 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6564, allocations: 72.03 kB / 0.8819 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.658, allocations: 0.9372 MB / 0.8828 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.658, allocations: 0 / 0.8828 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.6581, allocations: 35.17 kB / 0.8828 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.6581, allocations: 18.81 kB / 0.8828 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6593, allocations: 0.5669 MB / 0.8834 GB, free: 360 kB / 0.6544 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.00409/0.6634, allocations: 2.617 MB / 0.886 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.664, allocations: 241.2 kB / 0.8862 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.6644, allocations: 165.5 kB / 0.8863 GB, free: 14.06 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.6646, allocations: 57.64 kB / 0.8864 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.6647, allocations: 37.34 kB / 0.8864 GB, free: 14 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.414e-06/0.6647, allocations: 1.469 kB / 0.8864 GB, free: 14 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001291/0.6659, allocations: 0.5109 MB / 0.8869 GB, free: 13.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.666, allocations: 54.84 kB / 0.887 GB, free: 13.67 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.6671, allocations: 0.8119 MB / 0.8878 GB, free: 13.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.6671, allocations: 36.73 kB / 0.8878 GB, free: 13.16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.6676, allocations: 0.5092 MB / 0.8883 GB, free: 12.71 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.6677, allocations: 117.5 kB / 0.8884 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.6679, allocations: 113 kB / 0.8885 GB, free: 12.54 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6681, allocations: 331.2 kB / 0.8888 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.6685, allocations: 167 kB / 0.889 GB, free: 12.13 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.6691, allocations: 0.4917 MB / 0.8895 GB, free: 11.64 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/0.67, allocations: 0.5142 MB / 0.89 GB, free: 11.25 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.67, allocations: 2.312 kB / 0.89 GB, free: 11.25 MB / 0.67 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001217/0.6713, allocations: 0.6134 MB / 0.8906 GB, free: 10.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6713, allocations: 12.03 kB / 0.8906 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.6713, allocations: 4.656 kB / 0.8906 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.6713, allocations: 11.89 kB / 0.8906 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.6718, allocations: 122.1 kB / 0.8907 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.6718, allocations: 8.969 kB / 0.8907 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000605/0.6724, allocations: 74.12 kB / 0.8908 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/0.6724, allocations: 23.78 kB / 0.8908 GB, free: 10.84 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003878/0.6728, allocations: 288.2 kB / 0.8911 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.673, allocations: 88.38 kB / 0.8912 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.6741, allocations: 479.9 kB / 0.8917 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.6741, allocations: 3.281 kB / 0.8917 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6741, allocations: 0 / 0.8917 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00082/0.6749, allocations: 463 kB / 0.8921 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.6771, allocations: 1.165 MB / 0.8932 GB, free: 9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6771, allocations: 0 / 0.8932 GB, free: 9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.6774, allocations: 80.05 kB / 0.8933 GB, free: 8.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.6774, allocations: 7.984 kB / 0.8933 GB, free: 8.914 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.6775, allocations: 8 kB / 0.8933 GB, free: 8.906 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.6775, allocations: 7.938 kB / 0.8933 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6775, allocations: 0 / 0.8933 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.6789, allocations: 0.7553 MB / 0.8941 GB, free: 8.113 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.6792, allocations: 135.3 kB / 0.8942 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.774e-05/0.6793, allocations: 12 kB / 0.8942 GB, free: 7.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004717/0.6798, allocations: 27.91 kB / 0.8942 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.6798, allocations: 27.95 kB / 0.8943 GB, free: 7.914 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.6799, allocations: 23.92 kB / 0.8943 GB, free: 7.891 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007434/0.6806, allocations: 0.5498 MB / 0.8948 GB, free: 7.348 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.6806, allocations: 0 / 0.8948 GB, free: 7.348 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0011/0.6817, allocations: 363.1 kB / 0.8952 GB, free: 6.992 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006717/0.6824, allocations: 376.8 kB / 0.8955 GB, free: 6.621 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009568/0.6834, allocations: 400.5 kB / 0.8959 GB, free: 6.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.6834, allocations: 4 kB / 0.8959 GB, free: 6.227 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.6838, allocations: 180.8 kB / 0.8961 GB, free: 6.051 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.6858, allocations: 482.4 kB / 0.8966 GB, free: 5.605 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.6885, allocations: 1.608 MB / 0.8981 GB, free: 3.945 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.689, allocations: 444.6 kB / 0.8985 GB, free: 3.48 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006444/0.6897, allocations: 178.7 kB / 0.8987 GB, free: 3.305 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.6898, allocations: 75.36 kB / 0.8988 GB, free: 3.23 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.6898, allocations: 0 / 0.8988 GB, free: 3.23 MB / 0.67 GB Notification: Performance of Templates: time 0.03463/0.7245, allocations: 20.29 MB / 0.9186 GB, free: 15.35 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.180676719173789] Failed to read output from testmodel.py, exit status != 0: 0.7340517323464155 0.748762892 0.09481365699999994 Calling exit ...