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.001818/0.001818, allocations: 88.72 kB / 19.44 MB, free: 356 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.002291/0.002291, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 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.464/1.464, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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-535:34: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-535:42: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.204/1.204, allocations: 154.8 MB / 414.4 MB, free: 436 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5199 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.702e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05165/0.05168, allocations: 38.15 MB / 0.5571 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.06958, allocations: 9.699 MB / 0.5666 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.07163, allocations: 79.31 kB / 0.5667 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.07374, allocations: 0.6509 MB / 0.5673 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00593/0.07967, allocations: 2.057 MB / 0.5693 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.08321, allocations: 1.277 MB / 0.5706 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005331/0.08854, allocations: 3.492 MB / 0.574 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.09026, allocations: 0.8405 MB / 0.5748 GB, free: 10 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005015/0.09528, allocations: 1.913 MB / 0.5767 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.09701, allocations: 0.7865 MB / 0.5774 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003074/0.09731, allocations: 100 kB / 0.5775 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.09973, allocations: 0.7286 MB / 0.5782 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.1003, allocations: 302.7 kB / 0.5785 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.1016, allocations: 435 kB / 0.5789 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004305/0.1059, allocations: 1.967 MB / 0.5809 GB, free: 3.789 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.1059, allocations: 4 kB / 0.5809 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.482e-06/0.1059, allocations: 0 / 0.5809 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.222e-05/0.106, allocations: 0 / 0.5809 GB, free: 3.785 MB / 0.5417 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.003524/0.1095, allocations: 1.473 MB / 0.5823 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1095, allocations: 8.031 kB / 0.5823 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006515/0.1102, allocations: 208 kB / 0.5825 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.1127, allocations: 1.134 MB / 0.5836 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.1127, allocations: 50.38 kB / 0.5837 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.1129, allocations: 79.94 kB / 0.5837 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.1148, allocations: 0.945 MB / 0.5847 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.1148, allocations: 0 / 0.5847 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/0.1149, allocations: 28 kB / 0.5847 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.1149, allocations: 19.94 kB / 0.5847 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1163, allocations: 0.5711 MB / 0.5853 GB, free: 15.13 MB / 0.5573 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.004758/0.121, allocations: 2.637 MB / 0.5878 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.1217, allocations: 246.3 kB / 0.5881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.1221, allocations: 164.8 kB / 0.5882 GB, free: 12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.1223, allocations: 59.95 kB / 0.5883 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.1223, allocations: 38.5 kB / 0.5883 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.1223, allocations: 4 kB / 0.5883 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.001519/0.1239, allocations: 0.5102 MB / 0.5888 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.1239, allocations: 59.34 kB / 0.5889 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.1252, allocations: 0.8217 MB / 0.5897 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.1252, allocations: 29.7 kB / 0.5897 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.1257, allocations: 0.5078 MB / 0.5902 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.1259, allocations: 115 kB / 0.5903 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.1261, allocations: 118.2 kB / 0.5904 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1262, allocations: 322 kB / 0.5907 GB, free: 9.371 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.1267, allocations: 169.2 kB / 0.5909 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/0.1274, allocations: 0.5019 MB / 0.5914 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.1284, allocations: 0.5081 MB / 0.5919 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1284, allocations: 64 / 0.5919 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001407/0.1298, allocations: 0.6415 MB / 0.5925 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1298, allocations: 8.031 kB / 0.5925 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1298, allocations: 8 kB / 0.5925 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.1298, allocations: 8 kB / 0.5925 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.1303, allocations: 123.8 kB / 0.5927 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.1303, allocations: 8 kB / 0.5927 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.1309, allocations: 71.59 kB / 0.5927 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.131, allocations: 27.98 kB / 0.5928 GB, free: 7.117 MB / 0.5573 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.0004335/0.1314, allocations: 273.6 kB / 0.593 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.1316, allocations: 103.4 kB / 0.5931 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.1328, allocations: 484.9 kB / 0.5936 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.1328, allocations: 4 kB / 0.5936 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1328, allocations: 0 / 0.5936 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008329/0.1336, allocations: 457.5 kB / 0.594 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.1359, allocations: 1.159 MB / 0.5952 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.1359, allocations: 4.156 kB / 0.5952 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.1363, allocations: 79.88 kB / 0.5952 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.1363, allocations: 0 / 0.5952 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.1363, allocations: 8 kB / 0.5952 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1363, allocations: 4 kB / 0.5952 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1363, allocations: 4 kB / 0.5952 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.138, allocations: 0.7825 MB / 0.596 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.1383, allocations: 139.3 kB / 0.5961 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.1384, allocations: 11.98 kB / 0.5962 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/0.1389, allocations: 27.91 kB / 0.5962 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.139, allocations: 27.89 kB / 0.5962 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.139, allocations: 23.98 kB / 0.5962 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008417/0.1399, allocations: 0.5498 MB / 0.5968 GB, free: 2.883 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.1399, allocations: 8.062 kB / 0.5968 GB, free: 2.875 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00113/0.141, allocations: 355.1 kB / 0.5971 GB, free: 2.527 MB / 0.5573 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.0008301/0.1418, allocations: 372.7 kB / 0.5975 GB, free: 2.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.1429, allocations: 408.1 kB / 0.5979 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.1429, allocations: 4.438 kB / 0.5979 GB, free: 1.758 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.1433, allocations: 179.7 kB / 0.598 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.1457, allocations: 0.4909 MB / 0.5985 GB, free: 1.125 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.1488, allocations: 1.558 MB / 0.6 GB, free: 15.51 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.1493, allocations: 448.7 kB / 0.6005 GB, free: 15.04 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006627/0.15, allocations: 182.6 kB / 0.6006 GB, free: 14.86 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.1502, allocations: 76.42 kB / 0.6007 GB, free: 14.79 MB / 0.573 GB Notification: Performance of SimCode: time 1.162e-06/0.1502, allocations: 0 / 0.6007 GB, free: 14.79 MB / 0.573 GB Notification: Performance of Templates: time 0.03652/0.1867, allocations: 18.72 MB / 0.619 GB, free: 12.52 MB / 0.5886 GB " [Timeout remaining time 660] 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: 6.454025788931176]