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.001412/0.001412, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001716/0.001716, allocations: 181 kB / 23.36 MB, free: 1.133 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.9732/0.9732, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.7987/0.7987, allocations: 154.6 MB / 414.9 MB, free: 496 kB / 378.7 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 179] 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 1.553e-06/1.553e-06, allocations: 0 / 480 MB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.183e-05, allocations: 4.609 kB / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02448/0.0245, allocations: 13.13 MB / 493.1 MB, free: 9.746 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.03551, allocations: 5.503 MB / 498.6 MB, free: 4.285 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.03728, allocations: 79.31 kB / 498.7 MB, free: 4.207 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009994/0.03828, allocations: 365.3 kB / 499.1 MB, free: 3.848 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004606/0.04288, allocations: 1.35 MB / 0.4887 GB, free: 2.5 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.0456, allocations: 1.137 MB / 0.4898 GB, free: 1.371 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.04894, allocations: 3.397 MB / 0.4931 GB, free: 13.97 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.05006, allocations: 0.8437 MB / 0.494 GB, free: 13.1 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.0523, allocations: 1.614 MB / 0.4955 GB, free: 11.5 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009607/0.05326, allocations: 0.7531 MB / 0.4963 GB, free: 10.74 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.05335, allocations: 100.7 kB / 0.4964 GB, free: 10.64 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.05382, allocations: 296.5 kB / 0.4966 GB, free: 10.36 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.054, allocations: 298.8 kB / 0.4969 GB, free: 10.06 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.05432, allocations: 435 kB / 0.4973 GB, free: 9.637 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.05536, allocations: 1.047 MB / 0.4984 GB, free: 8.586 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.05537, allocations: 6 kB / 0.4984 GB, free: 8.582 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05537, allocations: 0 / 0.4984 GB, free: 8.582 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.05538, allocations: 0 / 0.4984 GB, free: 8.582 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.001274/0.05665, allocations: 1.341 MB / 0.4997 GB, free: 7.211 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.05668, allocations: 8.031 kB / 0.4997 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.05691, allocations: 172.6 kB / 0.4999 GB, free: 7.035 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/0.05771, allocations: 0.7464 MB / 0.5006 GB, free: 6.262 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.05775, allocations: 58.38 kB / 0.5006 GB, free: 6.203 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.05782, allocations: 84.73 kB / 0.5007 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.05837, allocations: 0.6913 MB / 0.5014 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.05838, allocations: 0 / 0.5014 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.05842, allocations: 29.03 kB / 0.5014 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.05845, allocations: 20 kB / 0.5014 GB, free: 5.309 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.05869, allocations: 198.2 kB / 0.5016 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.06047, allocations: 2.162 MB / 0.5037 GB, free: 2.883 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.06071, allocations: 175.1 kB / 0.5039 GB, free: 2.703 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.06078, allocations: 67.59 kB / 0.504 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.149e-05/0.06087, allocations: 32.53 kB / 0.504 GB, free: 2.602 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.06089, allocations: 35.81 kB / 0.504 GB, free: 2.559 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.06089, allocations: 0 / 0.504 GB, free: 2.559 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.000274/0.06117, allocations: 202 kB / 0.5042 GB, free: 2.355 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.06119, allocations: 57.12 kB / 0.5043 GB, free: 2.289 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.06167, allocations: 0.6731 MB / 0.5049 GB, free: 1.602 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.06169, allocations: 29.7 kB / 0.505 GB, free: 1.566 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.06186, allocations: 413.8 kB / 0.5054 GB, free: 1.156 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.084e-05/0.06192, allocations: 115 kB / 0.5055 GB, free: 1.043 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.06201, allocations: 119.4 kB / 0.5056 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.06208, allocations: 329.9 kB / 0.5059 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.06217, allocations: 60.12 kB / 0.506 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.06249, allocations: 402.4 kB / 0.5063 GB, free: 36 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.06277, allocations: 337.7 kB / 0.5067 GB, free: 15.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.06277, allocations: 4 kB / 0.5067 GB, free: 15.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003414/0.06311, allocations: 351.6 kB / 0.507 GB, free: 15.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.06313, allocations: 8 kB / 0.507 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.06313, allocations: 5.031 kB / 0.507 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.06315, allocations: 8 kB / 0.507 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.06335, allocations: 116.9 kB / 0.5071 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.06336, allocations: 15.92 kB / 0.5072 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.06356, allocations: 53.16 kB / 0.5072 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.06359, allocations: 27.92 kB / 0.5072 GB, free: 15.07 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.0001309/0.06372, allocations: 148.5 kB / 0.5074 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.06378, allocations: 64.89 kB / 0.5074 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.06406, allocations: 250.3 kB / 0.5077 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.06406, allocations: 4 kB / 0.5077 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.06407, allocations: 1.281 kB / 0.5077 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001383/0.0642, allocations: 235.5 kB / 0.5079 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007197/0.06492, allocations: 0.7751 MB / 0.5087 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.06493, allocations: 0.7188 kB / 0.5087 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.06508, allocations: 64.75 kB / 0.5087 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.06508, allocations: 4 kB / 0.5087 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.0651, allocations: 12.83 kB / 0.5087 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.0651, allocations: 7.938 kB / 0.5087 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.0651, allocations: 2.312 kB / 0.5087 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.06541, allocations: 434.9 kB / 0.5092 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.06554, allocations: 111.3 kB / 0.5093 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.06559, allocations: 8 kB / 0.5093 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.06576, allocations: 20.91 kB / 0.5093 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.06581, allocations: 31.89 kB / 0.5093 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.06583, allocations: 16.05 kB / 0.5093 GB, free: 12.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.06605, allocations: 332.7 kB / 0.5097 GB, free: 12.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06605, allocations: 0 / 0.5097 GB, free: 12.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006874/0.06674, allocations: 275.4 kB / 0.5099 GB, free: 12.21 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.0002426/0.06698, allocations: 167.9 kB / 0.5101 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.06723, allocations: 221.6 kB / 0.5103 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.06724, allocations: 8.969 kB / 0.5103 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.06733, allocations: 98.36 kB / 0.5104 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/0.06827, allocations: 485.6 kB / 0.5109 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.06981, allocations: 1.423 MB / 0.5122 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.06992, allocations: 187.2 kB / 0.5124 GB, free: 9.633 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003242/0.07025, allocations: 140.4 kB / 0.5126 GB, free: 9.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.07078, allocations: 364.7 kB / 0.5129 GB, free: 9.16 MB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/0.07079, allocations: 0 / 0.5129 GB, free: 9.16 MB / 490.7 MB Notification: Performance of Templates: time 0.01976/0.09054, allocations: 17.52 MB / 0.53 GB, free: 8.301 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.050656672101468]