Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001416/0.001416, allocations: 88.72 kB / 19.44 MB, free: 360 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.001764/0.001764, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.231/1.231, allocations: 154.6 MB / 414.2 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.401e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.06217/0.06221, allocations: 38.14 MB / 0.5569 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.07993, allocations: 9.716 MB / 0.5664 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.08177, allocations: 79.31 kB / 0.5665 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.08373, allocations: 0.6519 MB / 0.5671 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.005887/0.08962, allocations: 2.054 MB / 0.5691 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.09292, allocations: 1.274 MB / 0.5703 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005694/0.09862, allocations: 3.48 MB / 0.5737 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.1001, allocations: 0.8421 MB / 0.5746 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005325/0.1054, allocations: 1.917 MB / 0.5764 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.1069, allocations: 0.7826 MB / 0.5772 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.1071, allocations: 104 kB / 0.5773 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.1092, allocations: 0.717 MB / 0.578 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.1095, allocations: 298.8 kB / 0.5783 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007005/0.1102, allocations: 438.9 kB / 0.5787 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003684/0.1139, allocations: 1.971 MB / 0.5806 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1139, allocations: 0 / 0.5806 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1139, allocations: 0 / 0.5806 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.114, allocations: 0 / 0.5806 GB, free: 4.105 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.002898/0.1169, allocations: 1.477 MB / 0.5821 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1169, allocations: 8.031 kB / 0.5821 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005095/0.1174, allocations: 204 kB / 0.5823 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.1198, allocations: 1.13 MB / 0.5834 GB, free: 1.215 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.1198, allocations: 54.38 kB / 0.5834 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.12, allocations: 79.94 kB / 0.5835 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.1217, allocations: 0.9489 MB / 0.5844 GB, free: 68 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.1217, allocations: 3.938 kB / 0.5844 GB, free: 64 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.1218, allocations: 28 kB / 0.5845 GB, free: 36 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-05/0.1218, allocations: 24 kB / 0.5845 GB, free: 12 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.1231, allocations: 0.5672 MB / 0.585 GB, free: 15.44 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.004538/0.1276, allocations: 2.64 MB / 0.5876 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.1283, allocations: 246.4 kB / 0.5878 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.1287, allocations: 168.7 kB / 0.588 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.1289, allocations: 55.97 kB / 0.5881 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.129, allocations: 42.55 kB / 0.5881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/0.129, allocations: 0 / 0.5881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.001393/0.1304, allocations: 0.5141 MB / 0.5886 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1304, allocations: 51.41 kB / 0.5887 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.1316, allocations: 0.8139 MB / 0.5894 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.1316, allocations: 33.7 kB / 0.5895 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/0.1322, allocations: 0.5078 MB / 0.59 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.1323, allocations: 122.9 kB / 0.5901 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.1325, allocations: 114.2 kB / 0.5902 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1327, allocations: 333.9 kB / 0.5905 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.1331, allocations: 165.2 kB / 0.5907 GB, free: 9.516 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.1338, allocations: 0.4903 MB / 0.5912 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/0.1348, allocations: 0.5163 MB / 0.5917 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1348, allocations: 0 / 0.5917 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00134/0.1361, allocations: 0.6414 MB / 0.5923 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.1362, allocations: 10.19 kB / 0.5923 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.1362, allocations: 4 kB / 0.5923 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/0.1362, allocations: 8 kB / 0.5923 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.1367, allocations: 123.8 kB / 0.5924 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.1367, allocations: 11.98 kB / 0.5924 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.1373, allocations: 59.61 kB / 0.5925 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/0.1373, allocations: 27.98 kB / 0.5925 GB, free: 7.441 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.0004445/0.1378, allocations: 281.7 kB / 0.5928 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.1379, allocations: 103.3 kB / 0.5929 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.1393, allocations: 475.9 kB / 0.5933 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.1393, allocations: 8 kB / 0.5933 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1393, allocations: 0 / 0.5933 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008532/0.1402, allocations: 461.2 kB / 0.5938 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.1424, allocations: 1.156 MB / 0.5949 GB, free: 4.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1424, allocations: 8.156 kB / 0.5949 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.1428, allocations: 75.89 kB / 0.595 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.1428, allocations: 4 kB / 0.595 GB, free: 4.805 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.1428, allocations: 12.06 kB / 0.595 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1428, allocations: 0 / 0.595 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.1428, allocations: 7.984 kB / 0.595 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.1443, allocations: 0.7669 MB / 0.5958 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003062/0.1446, allocations: 139.3 kB / 0.5959 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.1447, allocations: 12 kB / 0.5959 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004565/0.1452, allocations: 23.97 kB / 0.5959 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.1453, allocations: 39.83 kB / 0.596 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.1453, allocations: 19.98 kB / 0.596 GB, free: 3.754 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008119/0.1461, allocations: 0.5537 MB / 0.5965 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.1461, allocations: 0 / 0.5965 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001062/0.1472, allocations: 359 kB / 0.5969 GB, free: 2.852 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.0007335/0.1479, allocations: 385.2 kB / 0.5972 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009768/0.1489, allocations: 400.7 kB / 0.5976 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1489, allocations: 4.125 kB / 0.5976 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.1493, allocations: 179.8 kB / 0.5978 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.1515, allocations: 0.4894 MB / 0.5983 GB, free: 1.445 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.1543, allocations: 1.558 MB / 0.5998 GB, free: 15.83 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.155, allocations: 452.7 kB / 0.6002 GB, free: 15.36 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005757/0.1556, allocations: 183.1 kB / 0.6004 GB, free: 15.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.1558, allocations: 72.48 kB / 0.6005 GB, free: 15.11 MB / 0.573 GB Notification: Performance of SimCode: time 7.01e-07/0.1558, allocations: 3.938 kB / 0.6005 GB, free: 15.11 MB / 0.573 GB Notification: Performance of Templates: time 0.03621/0.192, allocations: 18.71 MB / 0.6187 GB, free: 12.85 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.485707235056907]