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.0008542/0.0008542, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0008705/0.0008705, allocations: 212.7 kB / 23 MB, free: 2.977 MB / 13.93 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 0.9144/0.9144, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7863/0.7863, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] 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.001009/0.001009, allocations: 66.41 kB / 0.7194 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5357, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03086/0.5665, allocations: 38.47 MB / 0.8566 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.5789, allocations: 9.677 MB / 0.866 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.5805, allocations: 79.91 kB / 0.8661 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.5819, allocations: 0.6341 MB / 0.8667 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.5854, allocations: 2.006 MB / 0.8687 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.5877, allocations: 1.236 MB / 0.8699 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003249/0.5909, allocations: 3.465 MB / 0.8733 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008658/0.5918, allocations: 0.8099 MB / 0.8741 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.5942, allocations: 1.478 MB / 0.8755 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.5953, allocations: 0.8852 MB / 0.8764 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.5954, allocations: 99.16 kB / 0.8765 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.5967, allocations: 0.7125 MB / 0.8772 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.597, allocations: 287.9 kB / 0.8775 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.5974, allocations: 0.51 MB / 0.878 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.5995, allocations: 1.965 MB / 0.8799 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.5995, allocations: 1.406 kB / 0.8799 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5995, allocations: 0 / 0.8799 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.5995, allocations: 0 / 0.8799 GB, free: 5.5 MB / 0.6511 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.001908/0.6014, allocations: 1.482 MB / 0.8813 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.6014, allocations: 12.53 kB / 0.8813 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.6017, allocations: 141.9 kB / 0.8815 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6031, allocations: 1.063 MB / 0.8825 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.6031, allocations: 54.78 kB / 0.8826 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.91e-05/0.6032, allocations: 71.77 kB / 0.8826 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.6042, allocations: 0.9454 MB / 0.8835 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.6043, allocations: 5.156 kB / 0.8836 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.6043, allocations: 27.19 kB / 0.8836 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.6043, allocations: 21.92 kB / 0.8836 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007808/0.6051, allocations: 0.5668 MB / 0.8842 GB, free: 2.441 MB / 0.6511 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.002436/0.6075, allocations: 2.612 MB / 0.8867 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.6079, allocations: 238.4 kB / 0.8869 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.6081, allocations: 168.7 kB / 0.8871 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.6083, allocations: 59.95 kB / 0.8872 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.6083, allocations: 34.56 kB / 0.8872 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.6083, allocations: 4 kB / 0.8872 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.0007408/0.609, allocations: 0.5058 MB / 0.8877 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.6091, allocations: 55.41 kB / 0.8877 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.6097, allocations: 0.8139 MB / 0.8885 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.6097, allocations: 29.7 kB / 0.8886 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.61, allocations: 0.5117 MB / 0.8891 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/0.6101, allocations: 130.9 kB / 0.8892 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.6102, allocations: 106.3 kB / 0.8893 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.6103, allocations: 333.9 kB / 0.8896 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.6106, allocations: 169.1 kB / 0.8898 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.6109, allocations: 498.1 kB / 0.8902 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.6114, allocations: 0.5082 MB / 0.8907 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6114, allocations: 4 kB / 0.8907 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00065/0.612, allocations: 0.6217 MB / 0.8913 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6121, allocations: 4 kB / 0.8913 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6121, allocations: 8 kB / 0.8914 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.6121, allocations: 8 kB / 0.8914 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.6123, allocations: 123.8 kB / 0.8915 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.6123, allocations: 11.94 kB / 0.8915 GB, free: 10.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.6126, allocations: 71.97 kB / 0.8916 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.6126, allocations: 24 kB / 0.8916 GB, free: 10.68 MB / 0.6667 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.0002308/0.6129, allocations: 282.6 kB / 0.8919 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.777e-05/0.613, allocations: 91.44 kB / 0.8919 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005823/0.6135, allocations: 475 kB / 0.8924 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.6135, allocations: 11.94 kB / 0.8924 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6136, allocations: 0 / 0.8924 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005753/0.6141, allocations: 461.2 kB / 0.8928 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.6153, allocations: 1.174 MB / 0.894 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.6153, allocations: 0 / 0.894 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.6154, allocations: 75.89 kB / 0.8941 GB, free: 8.043 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.6154, allocations: 4 kB / 0.8941 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.6155, allocations: 11.98 kB / 0.8941 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6155, allocations: 3.938 kB / 0.8941 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6155, allocations: 4 kB / 0.8941 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.6162, allocations: 0.7554 MB / 0.8948 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.6164, allocations: 135.3 kB / 0.895 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.6164, allocations: 8 kB / 0.895 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.6167, allocations: 27.91 kB / 0.895 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.6167, allocations: 32.02 kB / 0.895 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.6167, allocations: 19.98 kB / 0.895 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004274/0.6172, allocations: 0.5498 MB / 0.8956 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.6172, allocations: 0 / 0.8956 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006417/0.6178, allocations: 359 kB / 0.8959 GB, free: 6.121 MB / 0.6667 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.0004392/0.6182, allocations: 378 kB / 0.8963 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005096/0.6187, allocations: 404.3 kB / 0.8967 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6187, allocations: 0 / 0.8967 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.619, allocations: 177 kB / 0.8968 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6201, allocations: 485 kB / 0.8973 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.6217, allocations: 1.637 MB / 0.8989 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.622, allocations: 448.6 kB / 0.8993 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.6222, allocations: 79.41 kB / 0.8994 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of SimCode: time 8.12e-07/0.6222, allocations: 0 / 0.8994 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of Templates: time 0.01505/0.6372, allocations: 16.91 MB / 0.9159 GB, free: 1.691 MB / 0.6823 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: 8.245086315553635] Failed to read output from testmodel.py, exit status != 0: 0.6431963192299008 0.650649483 0.049471525 Calling exit ...