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.002523/0.002523, allocations: 89.47 kB / 19.44 MB, free: 340 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.002948/0.002948, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.672/1.672, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.308/1.308, allocations: 154.8 MB / 414.4 MB, free: 472 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.443e-06/1.443e-06, allocations: 0 / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.67e-05, allocations: 4.422 kB / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.058/0.05803, allocations: 43.06 MB / 0.5619 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.07751, allocations: 10.65 MB / 0.5723 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.07977, allocations: 79.31 kB / 0.5724 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.08214, allocations: 0.6579 MB / 0.573 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006676/0.08882, allocations: 2.05 MB / 0.575 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.09247, allocations: 1.283 MB / 0.5763 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.006074/0.09855, allocations: 3.486 MB / 0.5797 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.1003, allocations: 0.846 MB / 0.5805 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005018/0.1053, allocations: 1.912 MB / 0.5824 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.107, allocations: 0.8099 MB / 0.5832 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.1072, allocations: 100 kB / 0.5833 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.1093, allocations: 0.7208 MB / 0.584 GB, free: 0.6367 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0004121/0.1097, allocations: 310.7 kB / 0.5843 GB, free: 340 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.000799/0.1105, allocations: 435 kB / 0.5847 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00357/0.1141, allocations: 1.978 MB / 0.5866 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1141, allocations: 0 / 0.5866 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1141, allocations: 0 / 0.5866 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.1141, allocations: 0 / 0.5866 GB, free: 13.92 MB / 0.5573 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.003402/0.1175, allocations: 1.674 MB / 0.5883 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1176, allocations: 8.031 kB / 0.5883 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005172/0.1181, allocations: 212 kB / 0.5885 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.1202, allocations: 1.07 MB / 0.5895 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.1203, allocations: 54.38 kB / 0.5896 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.1204, allocations: 83.94 kB / 0.5896 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.1222, allocations: 0.9699 MB / 0.5906 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.1222, allocations: 7.984 kB / 0.5906 GB, free: 9.688 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.1223, allocations: 28 kB / 0.5906 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.1224, allocations: 20 kB / 0.5906 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.1234, allocations: 0.493 MB / 0.5911 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005645/0.1291, allocations: 3.648 MB / 0.5947 GB, free: 5.383 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.1297, allocations: 225.9 kB / 0.5949 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.13, allocations: 131.6 kB / 0.595 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.1302, allocations: 59.95 kB / 0.5951 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.1303, allocations: 45.33 kB / 0.5951 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.1303, allocations: 0 / 0.5951 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.00113/0.1314, allocations: 429.5 kB / 0.5955 GB, free: 4.48 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.1315, allocations: 59.41 kB / 0.5956 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.1329, allocations: 1.034 MB / 0.5966 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.133, allocations: 37.7 kB / 0.5966 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000645/0.1336, allocations: 0.6159 MB / 0.5972 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.1338, allocations: 123.1 kB / 0.5974 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.134, allocations: 143.9 kB / 0.5975 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003065/0.1343, allocations: 0.516 MB / 0.598 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.1347, allocations: 121.2 kB / 0.5981 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/0.1354, allocations: 0.5477 MB / 0.5987 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.1362, allocations: 0.5208 MB / 0.5992 GB, free: 488 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.1363, allocations: 4 kB / 0.5992 GB, free: 484 kB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001266/0.1375, allocations: 0.5553 MB / 0.5997 GB, free: 15.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1375, allocations: 10.81 kB / 0.5997 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.1376, allocations: 8 kB / 0.5997 GB, free: 15.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.1376, allocations: 8 kB / 0.5997 GB, free: 15.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.138, allocations: 115.8 kB / 0.5998 GB, free: 15.77 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.1381, allocations: 11.94 kB / 0.5999 GB, free: 15.76 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.1386, allocations: 59.94 kB / 0.5999 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/0.1386, allocations: 28 kB / 0.5999 GB, free: 15.68 MB / 0.573 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.00066/0.1393, allocations: 308.4 kB / 0.6002 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.1395, allocations: 103.3 kB / 0.6003 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009061/0.1404, allocations: 393.8 kB / 0.6007 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.1404, allocations: 4 kB / 0.6007 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1404, allocations: 0 / 0.6007 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006656/0.141, allocations: 374.9 kB / 0.6011 GB, free: 14.47 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.1435, allocations: 1.352 MB / 0.6024 GB, free: 13.06 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.1435, allocations: 4 kB / 0.6024 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.1438, allocations: 67.91 kB / 0.6025 GB, free: 12.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.1438, allocations: 4 kB / 0.6025 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.1439, allocations: 12.14 kB / 0.6025 GB, free: 12.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1439, allocations: 8 kB / 0.6025 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1439, allocations: 0 / 0.6025 GB, free: 12.96 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.1452, allocations: 0.7006 MB / 0.6032 GB, free: 12.22 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/0.1455, allocations: 143.2 kB / 0.6033 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/0.1456, allocations: 7.984 kB / 0.6033 GB, free: 12.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.146, allocations: 19.98 kB / 0.6033 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.1461, allocations: 35.92 kB / 0.6034 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.1461, allocations: 19.98 kB / 0.6034 GB, free: 12 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009042/0.147, allocations: 0.62 MB / 0.604 GB, free: 11.39 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.147, allocations: 0 / 0.604 GB, free: 11.39 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001073/0.1481, allocations: 359 kB / 0.6043 GB, free: 11.04 MB / 0.573 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.0007317/0.1488, allocations: 376.6 kB / 0.6047 GB, free: 10.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008634/0.1497, allocations: 361.8 kB / 0.605 GB, free: 10.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1497, allocations: 64 / 0.605 GB, free: 10.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.1501, allocations: 163.4 kB / 0.6052 GB, free: 10.14 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.1524, allocations: 0.4977 MB / 0.6057 GB, free: 9.676 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.1554, allocations: 1.535 MB / 0.6072 GB, free: 8.074 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.1559, allocations: 440.7 kB / 0.6076 GB, free: 7.613 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000583/0.1565, allocations: 169.8 kB / 0.6078 GB, free: 7.449 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.1566, allocations: 76.42 kB / 0.6078 GB, free: 7.375 MB / 0.573 GB Notification: Performance of SimCode: time 1.413e-06/0.1566, allocations: 0 / 0.6078 GB, free: 7.375 MB / 0.573 GB Notification: Performance of Templates: time 0.0366/0.1932, allocations: 18.79 MB / 0.6262 GB, free: 5.047 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.863015084993094]