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.00125/0.00125, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001394/0.001394, allocations: 170.1 kB / 22.46 MB, free: 5.359 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.431/1.431, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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-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 1.189/1.189, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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.573e-06/1.573e-06, allocations: 0 / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.778e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04317/0.0432, allocations: 38.16 MB / 0.6558 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.05897, allocations: 9.691 MB / 0.6653 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.06071, allocations: 87.25 kB / 0.6654 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.06255, allocations: 0.6441 MB / 0.666 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005563/0.06811, allocations: 2.063 MB / 0.668 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.07145, allocations: 1.278 MB / 0.6693 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005308/0.07675, allocations: 3.483 MB / 0.6727 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.07828, allocations: 0.8181 MB / 0.6735 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004224/0.08251, allocations: 1.894 MB / 0.6753 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.08385, allocations: 0.7904 MB / 0.6761 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.08403, allocations: 100 kB / 0.6762 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.08585, allocations: 0.7208 MB / 0.6769 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.08618, allocations: 298.8 kB / 0.6772 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006278/0.08681, allocations: 438.9 kB / 0.6776 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.09015, allocations: 1.963 MB / 0.6795 GB, free: 6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.09016, allocations: 0 / 0.6795 GB, free: 6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.09016, allocations: 0 / 0.6795 GB, free: 6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.922e-05/0.09019, allocations: 0 / 0.6795 GB, free: 6 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.003031/0.09322, allocations: 1.477 MB / 0.6809 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.09326, allocations: 13.47 kB / 0.6809 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.09367, allocations: 140.1 kB / 0.6811 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.0956, allocations: 1.059 MB / 0.6821 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.09565, allocations: 54.38 kB / 0.6822 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.09577, allocations: 75.94 kB / 0.6822 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.09752, allocations: 0.9372 MB / 0.6832 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.09755, allocations: 3.938 kB / 0.6832 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.501e-05/0.09764, allocations: 32 kB / 0.6832 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/0.09769, allocations: 31.97 kB / 0.6832 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.09894, allocations: 0.5633 MB / 0.6838 GB, free: 1.477 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.003947/0.1029, allocations: 2.598 MB / 0.6863 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.1035, allocations: 249.2 kB / 0.6865 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.1039, allocations: 168.7 kB / 0.6867 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002482/0.1041, allocations: 55.95 kB / 0.6868 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.1041, allocations: 39.09 kB / 0.6868 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.1041, allocations: 0 / 0.6868 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001281/0.1054, allocations: 0.5014 MB / 0.6873 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1055, allocations: 63.33 kB / 0.6873 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.1065, allocations: 0.8139 MB / 0.6881 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.1066, allocations: 29.7 kB / 0.6882 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/0.107, allocations: 0.5193 MB / 0.6887 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.1071, allocations: 115.1 kB / 0.6888 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.1073, allocations: 114.2 kB / 0.6889 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1075, allocations: 326 kB / 0.6892 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.1078, allocations: 169.1 kB / 0.6894 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.1084, allocations: 0.4903 MB / 0.6898 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009065/0.1093, allocations: 0.511 MB / 0.6903 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1094, allocations: 0 / 0.6903 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001224/0.1106, allocations: 0.6217 MB / 0.691 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1106, allocations: 8 kB / 0.691 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.1106, allocations: 4.062 kB / 0.691 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.1106, allocations: 12 kB / 0.691 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.1111, allocations: 123.8 kB / 0.6911 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.1111, allocations: 11.94 kB / 0.6911 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.1116, allocations: 75.81 kB / 0.6912 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.1117, allocations: 24 kB / 0.6912 GB, free: 9.523 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.0003827/0.1121, allocations: 275.7 kB / 0.6915 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.1122, allocations: 91.38 kB / 0.6916 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.1132, allocations: 484.1 kB / 0.692 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.1132, allocations: 11.98 kB / 0.692 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1132, allocations: 0 / 0.692 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008126/0.114, allocations: 457.2 kB / 0.6925 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.1162, allocations: 1.158 MB / 0.6936 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.1162, allocations: 4 kB / 0.6936 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.1165, allocations: 79.88 kB / 0.6937 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1165, allocations: 0 / 0.6937 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.1166, allocations: 8 kB / 0.6937 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.1166, allocations: 7.938 kB / 0.6937 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1166, allocations: 4 kB / 0.6937 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.118, allocations: 0.7515 MB / 0.6944 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.1182, allocations: 135.3 kB / 0.6946 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.1183, allocations: 12 kB / 0.6946 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.1188, allocations: 31.95 kB / 0.6946 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.1189, allocations: 31.89 kB / 0.6946 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.1189, allocations: 23.98 kB / 0.6946 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007577/0.1197, allocations: 0.5536 MB / 0.6952 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.1197, allocations: 0 / 0.6952 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001044/0.1207, allocations: 363 kB / 0.6955 GB, free: 4.961 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.0006831/0.1214, allocations: 384.1 kB / 0.6959 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009163/0.1223, allocations: 404.4 kB / 0.6963 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1223, allocations: 0 / 0.6963 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.1227, allocations: 176.3 kB / 0.6965 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.1248, allocations: 484 kB / 0.6969 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.1273, allocations: 1.538 MB / 0.6984 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.1278, allocations: 452.5 kB / 0.6988 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005392/0.1283, allocations: 169 kB / 0.699 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.1285, allocations: 80.41 kB / 0.6991 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.1285, allocations: 0 / 0.6991 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of Templates: time 0.2952/0.4237, allocations: 18.63 MB / 0.7173 GB, free: 83.79 MB / 0.6075 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.570332106202841] Failed to read output from testmodel.py, exit status != 0: 0.4319514185190201 0.442746464 0.350079905 Calling exit ...