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.001114/0.001114, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001142/0.001142, allocations: 177 kB / 23.36 MB, free: 1.129 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.9895/0.9895, allocations: 177.2 MB / 203.8 MB, free: 5.473 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-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 0.7811/0.7811, allocations: 154.9 MB / 415.1 MB, free: 200 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 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.503e-06/1.503e-06, allocations: 0 / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/2.99e-05, allocations: 6.891 kB / 480.4 MB, free: 6.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01061/0.01064, allocations: 13.17 MB / 493.6 MB, free: 9.328 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008671/0.01931, allocations: 5.504 MB / 499.1 MB, free: 3.871 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.02102, allocations: 84.75 kB / 499.2 MB, free: 3.789 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008454/0.02187, allocations: 357.3 kB / 499.5 MB, free: 3.438 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.02457, allocations: 1.348 MB / 0.4891 GB, free: 2.094 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.02675, allocations: 1.125 MB / 0.4902 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.03078, allocations: 3.392 MB / 0.4935 GB, free: 13.58 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.03235, allocations: 0.8636 MB / 0.4944 GB, free: 12.71 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.03476, allocations: 1.59 MB / 0.4959 GB, free: 11.13 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.0358, allocations: 0.7569 MB / 0.4967 GB, free: 10.38 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.03594, allocations: 96 kB / 0.4968 GB, free: 10.28 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006796/0.03662, allocations: 299.4 kB / 0.4971 GB, free: 9.988 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.03684, allocations: 303.7 kB / 0.4974 GB, free: 9.691 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.03727, allocations: 431 kB / 0.4978 GB, free: 9.27 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.03887, allocations: 1.053 MB / 0.4988 GB, free: 8.215 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.03887, allocations: 0 / 0.4988 GB, free: 8.215 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03887, allocations: 0 / 0.4988 GB, free: 8.215 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.03888, allocations: 0 / 0.4988 GB, free: 8.215 MB / 474.7 MB 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.0014/0.04028, allocations: 1.353 MB / 0.5001 GB, free: 6.832 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.04032, allocations: 12.03 kB / 0.5001 GB, free: 6.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.04058, allocations: 161.7 kB / 0.5003 GB, free: 6.664 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.04147, allocations: 0.7409 MB / 0.501 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.04151, allocations: 58.36 kB / 0.5011 GB, free: 5.836 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/0.04157, allocations: 79.94 kB / 0.5011 GB, free: 5.758 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.04218, allocations: 0.6888 MB / 0.5018 GB, free: 4.996 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.04219, allocations: 2.656 kB / 0.5018 GB, free: 4.996 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.04223, allocations: 32 kB / 0.5018 GB, free: 4.965 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.04226, allocations: 20 kB / 0.5019 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.04253, allocations: 197 kB / 0.502 GB, free: 4.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.04442, allocations: 2.173 MB / 0.5042 GB, free: 2.512 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.04465, allocations: 168.1 kB / 0.5043 GB, free: 2.336 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.04472, allocations: 69.55 kB / 0.5044 GB, free: 2.266 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.577e-05/0.04482, allocations: 29.05 kB / 0.5044 GB, free: 2.238 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.04484, allocations: 38.56 kB / 0.5045 GB, free: 2.191 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.685e-06/0.04485, allocations: 0.5312 kB / 0.5045 GB, free: 2.191 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002914/0.04514, allocations: 199.9 kB / 0.5046 GB, free: 1.992 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.04516, allocations: 59.34 kB / 0.5047 GB, free: 1.922 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.04563, allocations: 0.677 MB / 0.5054 GB, free: 1.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.04565, allocations: 37.7 kB / 0.5054 GB, free: 1.188 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.04586, allocations: 405.8 kB / 0.5058 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.9e-05/0.04592, allocations: 120.5 kB / 0.5059 GB, free: 0.668 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.04602, allocations: 114.2 kB / 0.506 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.04609, allocations: 329.9 kB / 0.5063 GB, free: 228 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.04619, allocations: 64.11 kB / 0.5064 GB, free: 164 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.04647, allocations: 395.6 kB / 0.5068 GB, free: 15.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.04675, allocations: 330 kB / 0.5071 GB, free: 15.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.04675, allocations: 0 / 0.5071 GB, free: 15.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003622/0.04712, allocations: 353.6 kB / 0.5074 GB, free: 14.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.04713, allocations: 4 kB / 0.5074 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.04714, allocations: 8 kB / 0.5074 GB, free: 14.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.04716, allocations: 9.719 kB / 0.5074 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.04741, allocations: 123.8 kB / 0.5076 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.04741, allocations: 11.94 kB / 0.5076 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.04764, allocations: 60.42 kB / 0.5076 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.04767, allocations: 24 kB / 0.5076 GB, free: 14.7 MB / 490.7 MB 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.0001352/0.0478, allocations: 145.9 kB / 0.5078 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.04787, allocations: 67.86 kB / 0.5079 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.04818, allocations: 258.3 kB / 0.5081 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.04818, allocations: 4 kB / 0.5081 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.04818, allocations: 4 kB / 0.5081 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002716/0.04846, allocations: 230.2 kB / 0.5083 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.04923, allocations: 0.7661 MB / 0.5091 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.04924, allocations: 0 / 0.5091 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.04943, allocations: 83.88 kB / 0.5092 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.04944, allocations: 0 / 0.5092 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.04945, allocations: 8 kB / 0.5092 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.04946, allocations: 4 kB / 0.5092 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.04946, allocations: 0.5625 kB / 0.5092 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.0498, allocations: 440.6 kB / 0.5096 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.04994, allocations: 104.8 kB / 0.5097 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.05, allocations: 11.98 kB / 0.5097 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.05018, allocations: 29.45 kB / 0.5097 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.05023, allocations: 27.89 kB / 0.5098 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.05026, allocations: 11.98 kB / 0.5098 GB, free: 12.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002403/0.0505, allocations: 332.2 kB / 0.5101 GB, free: 12.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0505, allocations: 0 / 0.5101 GB, free: 12.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005365/0.05103, allocations: 279.4 kB / 0.5103 GB, free: 11.82 MB / 490.7 MB 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.0002682/0.0513, allocations: 162.2 kB / 0.5105 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.05159, allocations: 223.5 kB / 0.5107 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/0.0516, allocations: 12 kB / 0.5107 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.673e-05/0.0517, allocations: 89.12 kB / 0.5108 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.05273, allocations: 0.4884 MB / 0.5113 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.05472, allocations: 1.426 MB / 0.5127 GB, free: 9.453 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.05484, allocations: 183.2 kB / 0.5129 GB, free: 9.254 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.05524, allocations: 150.2 kB / 0.513 GB, free: 9.137 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.05583, allocations: 361.5 kB / 0.5133 GB, free: 8.777 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/0.05583, allocations: 0 / 0.5133 GB, free: 8.777 MB / 490.7 MB Notification: Performance of Templates: time 0.02182/0.07764, allocations: 17.53 MB / 0.5305 GB, free: 7.875 MB / 0.4948 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.035610806196928]