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.001748/0.001748, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001564/0.001564, allocations: 163.2 kB / 22.45 MB, free: 5.379 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.424/1.424, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 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-531:686: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-531:694: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.175/1.175, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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.444e-06/2.444e-06, allocations: 0 / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.549e-05/3.793e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04485/0.04488, allocations: 38.17 MB / 0.6559 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.06031, allocations: 9.685 MB / 0.6653 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.06168, allocations: 79.31 kB / 0.6654 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.06332, allocations: 0.648 MB / 0.666 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005041/0.06836, allocations: 2.059 MB / 0.668 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.07146, allocations: 1.287 MB / 0.6693 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004401/0.07586, allocations: 3.493 MB / 0.6727 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.0771, allocations: 0.822 MB / 0.6735 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003666/0.08076, allocations: 1.892 MB / 0.6754 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.08194, allocations: 0.7826 MB / 0.6761 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.08211, allocations: 100 kB / 0.6762 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.08373, allocations: 0.7169 MB / 0.6769 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.08406, allocations: 302.7 kB / 0.6772 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005694/0.08463, allocations: 439 kB / 0.6776 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.08732, allocations: 1.963 MB / 0.6795 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.08732, allocations: 4 kB / 0.6796 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.08732, allocations: 0 / 0.6796 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.08734, allocations: 4 kB / 0.6796 GB, free: 5.934 MB / 0.5919 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.002511/0.08985, allocations: 1.469 MB / 0.681 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.08989, allocations: 8.031 kB / 0.681 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.09027, allocations: 140.1 kB / 0.6811 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.09217, allocations: 1.063 MB / 0.6822 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.09222, allocations: 54.38 kB / 0.6822 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.09235, allocations: 75.94 kB / 0.6823 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.09393, allocations: 0.945 MB / 0.6832 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.09395, allocations: 4 kB / 0.6832 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.09403, allocations: 28 kB / 0.6832 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.09406, allocations: 20 kB / 0.6833 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.09528, allocations: 0.5672 MB / 0.6838 GB, free: 1.422 MB / 0.5919 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.003946/0.09923, allocations: 2.594 MB / 0.6864 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.09996, allocations: 246.3 kB / 0.6866 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.1003, allocations: 169.2 kB / 0.6867 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.1006, allocations: 63.95 kB / 0.6868 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.1006, allocations: 42.55 kB / 0.6868 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/0.1006, allocations: 0 / 0.6868 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.00128/0.1019, allocations: 0.4974 MB / 0.6873 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.102, allocations: 59.41 kB / 0.6874 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.103, allocations: 0.8178 MB / 0.6882 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.1031, allocations: 37.64 kB / 0.6882 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.1035, allocations: 0.5154 MB / 0.6887 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1037, allocations: 115.1 kB / 0.6888 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.1038, allocations: 106.3 kB / 0.6889 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.104, allocations: 330 kB / 0.6893 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.1044, allocations: 165.2 kB / 0.6894 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.1051, allocations: 0.4981 MB / 0.6899 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009736/0.1061, allocations: 0.5124 MB / 0.6904 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1061, allocations: 0 / 0.6904 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00126/0.1073, allocations: 0.606 MB / 0.691 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.1073, allocations: 11.98 kB / 0.691 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.1074, allocations: 12 kB / 0.691 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.1074, allocations: 8 kB / 0.691 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.1079, allocations: 128.3 kB / 0.6911 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.1079, allocations: 8 kB / 0.6912 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.1084, allocations: 71.53 kB / 0.6912 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.1085, allocations: 24 kB / 0.6912 GB, free: 9.477 MB / 0.6075 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.0003976/0.1089, allocations: 276.6 kB / 0.6915 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.1091, allocations: 95.38 kB / 0.6916 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.1101, allocations: 486.6 kB / 0.6921 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.1101, allocations: 7.984 kB / 0.6921 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1101, allocations: 0 / 0.6921 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000848/0.111, allocations: 453.2 kB / 0.6925 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.1132, allocations: 1.163 MB / 0.6936 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.1132, allocations: 4 kB / 0.6936 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/0.1135, allocations: 79.88 kB / 0.6937 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1135, allocations: 0 / 0.6937 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.1136, allocations: 16.16 kB / 0.6937 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1136, allocations: 0 / 0.6937 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1136, allocations: 4 kB / 0.6937 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.115, allocations: 0.7513 MB / 0.6945 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.1153, allocations: 139.3 kB / 0.6946 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/0.1154, allocations: 12.06 kB / 0.6946 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.1159, allocations: 35.89 kB / 0.6946 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.116, allocations: 31.88 kB / 0.6947 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.116, allocations: 23.92 kB / 0.6947 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007583/0.1168, allocations: 0.5498 MB / 0.6952 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1168, allocations: 0 / 0.6952 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00101/0.1178, allocations: 359.1 kB / 0.6956 GB, free: 4.906 MB / 0.6075 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.0007087/0.1185, allocations: 372.8 kB / 0.6959 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009676/0.1194, allocations: 399.7 kB / 0.6963 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.1194, allocations: 4 kB / 0.6963 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.1199, allocations: 181 kB / 0.6965 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.1221, allocations: 486.2 kB / 0.697 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.1247, allocations: 1.542 MB / 0.6985 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.1253, allocations: 452.5 kB / 0.6989 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005688/0.1258, allocations: 170.1 kB / 0.6991 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.126, allocations: 76.47 kB / 0.6991 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.126, allocations: 0 / 0.6991 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of Templates: time 0.2876/0.4135, allocations: 18.62 MB / 0.7173 GB, free: 83.75 MB / 0.6075 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.550735663622618] Failed to read output from testmodel.py, exit status != 0: 0.42193616181612015 0.43283245899999995 0.34295771599999997 Calling exit ...