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.000815/0.000815, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008388/0.0008388, allocations: 174.3 kB / 23.21 MB, free: 1.355 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 0.9186/0.9186, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.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.7305/0.7305, allocations: 154.5 MB / 414.5 MB, free: 0.8516 MB / 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 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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.041e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02746/0.02749, allocations: 38.16 MB / 0.6565 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.04114, allocations: 9.695 MB / 0.666 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00243/0.04357, allocations: 79.31 kB / 0.6661 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.04584, allocations: 0.648 MB / 0.6667 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.05146, allocations: 2.063 MB / 0.6687 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002847/0.05431, allocations: 1.278 MB / 0.67 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004528/0.05883, allocations: 3.492 MB / 0.6734 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.0601, allocations: 0.8105 MB / 0.6742 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.0637, allocations: 1.901 MB / 0.676 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.06484, allocations: 0.7826 MB / 0.6768 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.06495, allocations: 100 kB / 0.6769 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.06658, allocations: 0.7092 MB / 0.6776 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.06684, allocations: 306.7 kB / 0.6779 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.06732, allocations: 439 kB / 0.6783 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.3618/0.4291, allocations: 1.963 MB / 0.6802 GB, free: 51.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.4291, allocations: 1.875 kB / 0.6802 GB, free: 51.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4291, allocations: 3.312 kB / 0.6802 GB, free: 51.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.394e-05/0.4291, allocations: 1.312 kB / 0.6802 GB, free: 51.84 MB / 0.6355 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.001952/0.4311, allocations: 1.474 MB / 0.6817 GB, free: 51.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4311, allocations: 10.84 kB / 0.6817 GB, free: 51.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.4314, allocations: 142 kB / 0.6818 GB, free: 51.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.4327, allocations: 1.049 MB / 0.6828 GB, free: 50.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.4327, allocations: 57.5 kB / 0.6829 GB, free: 50.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.4328, allocations: 71.09 kB / 0.683 GB, free: 50.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.4337, allocations: 0.9411 MB / 0.6839 GB, free: 50.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4337, allocations: 4.625 kB / 0.6839 GB, free: 50.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.4338, allocations: 27.78 kB / 0.6839 GB, free: 50.44 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.4338, allocations: 24.31 kB / 0.6839 GB, free: 50.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.4345, allocations: 0.5699 MB / 0.6845 GB, free: 50.44 MB / 0.6355 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.002761/0.4372, allocations: 2.604 MB / 0.687 GB, free: 49.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.4377, allocations: 241.5 kB / 0.6873 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.4378, allocations: 168.8 kB / 0.6874 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001853/0.438, allocations: 61.62 kB / 0.6875 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4381, allocations: 45.02 kB / 0.6875 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 2.935e-06/0.4381, allocations: 2.469 kB / 0.6875 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.0007684/0.4388, allocations: 0.5029 MB / 0.688 GB, free: 49.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.4389, allocations: 54.38 kB / 0.6881 GB, free: 49.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006661/0.4395, allocations: 0.81 MB / 0.6889 GB, free: 49.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.4396, allocations: 38.64 kB / 0.6889 GB, free: 48.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.4398, allocations: 0.5099 MB / 0.6894 GB, free: 48.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.492e-05/0.4399, allocations: 122.8 kB / 0.6895 GB, free: 48.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.44, allocations: 112.7 kB / 0.6896 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.44, allocations: 328.2 kB / 0.6899 GB, free: 48.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.4402, allocations: 165.6 kB / 0.6901 GB, free: 48.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.4405, allocations: 0.496 MB / 0.6906 GB, free: 47.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.4409, allocations: 0.5104 MB / 0.6911 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4409, allocations: 4.719 kB / 0.6911 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000645/0.4416, allocations: 0.6071 MB / 0.6917 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4416, allocations: 12.56 kB / 0.6917 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.4416, allocations: 4.844 kB / 0.6917 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4416, allocations: 8.156 kB / 0.6917 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.4419, allocations: 123.1 kB / 0.6918 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4419, allocations: 17.22 kB / 0.6918 GB, free: 47.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.4423, allocations: 67.92 kB / 0.6919 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.4423, allocations: 27.38 kB / 0.6919 GB, free: 47.65 MB / 0.6355 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.0002949/0.4426, allocations: 278.4 kB / 0.6922 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.698e-05/0.4427, allocations: 93.34 kB / 0.6923 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/0.4433, allocations: 488.4 kB / 0.6927 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4433, allocations: 6.688 kB / 0.6927 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4433, allocations: 0 / 0.6927 GB, free: 47.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003793/0.4437, allocations: 457.7 kB / 0.6932 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.445, allocations: 1.162 MB / 0.6943 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.445, allocations: 2.781 kB / 0.6943 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.4452, allocations: 82.56 kB / 0.6944 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4452, allocations: 2.594 kB / 0.6944 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4452, allocations: 8.125 kB / 0.6944 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4452, allocations: 6.203 kB / 0.6944 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4452, allocations: 6.156 kB / 0.6944 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.446, allocations: 0.7588 MB / 0.6952 GB, free: 46.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.4462, allocations: 131.5 kB / 0.6953 GB, free: 46.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.4463, allocations: 12.83 kB / 0.6953 GB, free: 46.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4465, allocations: 26.97 kB / 0.6953 GB, free: 46.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.4466, allocations: 35.97 kB / 0.6954 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.4466, allocations: 18.52 kB / 0.6954 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004789/0.4471, allocations: 0.5493 MB / 0.6959 GB, free: 46.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4471, allocations: 0 / 0.6959 GB, free: 46.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009079/0.448, allocations: 362.6 kB / 0.6963 GB, free: 46.5 MB / 0.6355 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.0005861/0.4486, allocations: 378.6 kB / 0.6966 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006651/0.4492, allocations: 408.6 kB / 0.697 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4492, allocations: 0 / 0.697 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.4495, allocations: 177.6 kB / 0.6972 GB, free: 46.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.4508, allocations: 480.4 kB / 0.6976 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.453, allocations: 1.575 MB / 0.6992 GB, free: 45.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.4533, allocations: 451.4 kB / 0.6996 GB, free: 45.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.4535, allocations: 75.14 kB / 0.6997 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.714e-06/0.4535, allocations: 0 / 0.6997 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.02739/0.4809, allocations: 17.01 MB / 0.7163 GB, free: 43.38 MB / 0.6355 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: 8.440070657990873] Failed to read output from testmodel.py, exit status != 0: 0.48862051125615835 0.502952296 0.071614433 Calling exit ...