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.0006335/0.0006335, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007576/0.0007576, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.9034/0.9034, allocations: 230.6 MB / 256.8 MB, free: 3.418 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.7446/0.7446, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 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.0009308/0.0009308, allocations: 65.91 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4976, allocations: 102 MB / 0.8191 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02773/0.5253, allocations: 42.55 MB / 0.8607 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.5369, allocations: 10.45 MB / 0.8709 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.5381, allocations: 80.47 kB / 0.8709 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.5395, allocations: 0.6754 MB / 0.8716 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.5428, allocations: 2.026 MB / 0.8736 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.5448, allocations: 1.259 MB / 0.8748 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002822/0.5477, allocations: 3.5 MB / 0.8782 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007557/0.5484, allocations: 0.8134 MB / 0.879 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.5503, allocations: 1.471 MB / 0.8805 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007125/0.551, allocations: 0.9222 MB / 0.8814 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.5511, allocations: 100.4 kB / 0.8814 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.5525, allocations: 0.9339 MB / 0.8824 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.5527, allocations: 290.8 kB / 0.8826 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.5532, allocations: 0.6314 MB / 0.8833 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.5549, allocations: 1.998 MB / 0.8852 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5549, allocations: 3.938 kB / 0.8852 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5549, allocations: 0 / 0.8852 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.555, allocations: 5.375 kB / 0.8852 GB, free: 10.1 MB / 0.6667 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.001564/0.5565, allocations: 1.482 MB / 0.8867 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5566, allocations: 14.81 kB / 0.8867 GB, free: 8.969 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.5568, allocations: 141.6 kB / 0.8868 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.558, allocations: 1.062 MB / 0.8878 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.5581, allocations: 55.34 kB / 0.8879 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/0.5582, allocations: 68.03 kB / 0.888 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008912/0.5591, allocations: 0.7913 MB / 0.8887 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.5591, allocations: 5.062 kB / 0.8887 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.5591, allocations: 31.66 kB / 0.8888 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.5591, allocations: 22.86 kB / 0.8888 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.5599, allocations: 0.5673 MB / 0.8894 GB, free: 7.227 MB / 0.6667 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.002745/0.5626, allocations: 3.643 MB / 0.8929 GB, free: 3.988 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.563, allocations: 240.7 kB / 0.8931 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.5632, allocations: 167.1 kB / 0.8933 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001757/0.5634, allocations: 68.86 kB / 0.8934 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.5634, allocations: 37.25 kB / 0.8934 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/0.5634, allocations: 0 / 0.8934 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.0007521/0.5642, allocations: 0.5194 MB / 0.8939 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.5642, allocations: 53.97 kB / 0.894 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008619/0.5651, allocations: 0.9523 MB / 0.8949 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.5651, allocations: 37.33 kB / 0.8949 GB, free: 2.801 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.5654, allocations: 0.5048 MB / 0.8954 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.5655, allocations: 117.6 kB / 0.8955 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.5656, allocations: 112 kB / 0.8956 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.5657, allocations: 331.7 kB / 0.896 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.5659, allocations: 174.4 kB / 0.8961 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.5664, allocations: 348.5 kB / 0.8964 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005135/0.5669, allocations: 0.5057 MB / 0.8969 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5669, allocations: 3 kB / 0.8969 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007139/0.5677, allocations: 0.6274 MB / 0.8976 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5677, allocations: 7.75 kB / 0.8976 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.5677, allocations: 6.375 kB / 0.8976 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.5677, allocations: 6.562 kB / 0.8976 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.568, allocations: 126.5 kB / 0.8977 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.568, allocations: 11.75 kB / 0.8977 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.5683, allocations: 87.22 kB / 0.8978 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.5683, allocations: 28.75 kB / 0.8978 GB, free: 0.6445 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.0002535/0.5685, allocations: 283.2 kB / 0.8981 GB, free: 432 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5687, allocations: 107.4 kB / 0.8982 GB, free: 372 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006231/0.5693, allocations: 486.1 kB / 0.8987 GB, free: 100 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.5693, allocations: 7.328 kB / 0.8987 GB, free: 96 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5693, allocations: 1.125 kB / 0.8987 GB, free: 96 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004616/0.5698, allocations: 461.5 kB / 0.8991 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.5711, allocations: 1.353 MB / 0.9004 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5711, allocations: 2.375 kB / 0.9004 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.5713, allocations: 75.02 kB / 0.9005 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.5713, allocations: 15.52 kB / 0.9005 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.5713, allocations: 8.688 kB / 0.9005 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5714, allocations: 6.406 kB / 0.9005 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5714, allocations: 1.562 kB / 0.9005 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.5722, allocations: 0.7654 MB / 0.9013 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.5724, allocations: 159.2 kB / 0.9014 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.5724, allocations: 8 kB / 0.9014 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.5727, allocations: 35.91 kB / 0.9015 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.5727, allocations: 27.95 kB / 0.9015 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.5727, allocations: 19.98 kB / 0.9015 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005443/0.5733, allocations: 0.6668 MB / 0.9022 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5e-08/0.5733, allocations: 0 / 0.9022 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006477/0.5739, allocations: 339.3 kB / 0.9025 GB, free: 12.91 MB / 0.6823 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.000465/0.5744, allocations: 376.2 kB / 0.9029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.5749, allocations: 399.5 kB / 0.9032 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.5749, allocations: 1.375 kB / 0.9032 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.5751, allocations: 180.8 kB / 0.9034 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.5765, allocations: 0.621 MB / 0.904 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.5784, allocations: 1.668 MB / 0.9056 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.5788, allocations: 1.032 MB / 0.9067 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.579, allocations: 83.42 kB / 0.9067 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/0.579, allocations: 0 / 0.9067 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.01497/0.5939, allocations: 18.19 MB / 0.9245 GB, free: 6.477 MB / 0.698 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.357429311843589] Failed to read output from testmodel.py, exit status != 0: 0.6000270720105618 0.607499392 0.050861168000000005 Calling exit ...