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.001116/0.001116, allocations: 80.94 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.001458/0.001458, allocations: 177 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.9766/0.9766, allocations: 177.2 MB / 203.8 MB, free: 5.5 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.792/0.792, allocations: 154.6 MB / 414.8 MB, free: 0.5469 MB / 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.142e-06/1.142e-06, allocations: 0 / 480.1 MB, free: 6.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.118e-05, allocations: 4.422 kB / 480.1 MB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0106/0.01063, allocations: 13.18 MB / 493.2 MB, free: 9.742 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007968/0.01859, allocations: 5.491 MB / 498.7 MB, free: 4.285 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008865/0.01948, allocations: 79.31 kB / 498.8 MB, free: 4.207 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.02011, allocations: 361.3 kB / 499.2 MB, free: 3.852 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.02189, allocations: 1.351 MB / 0.4888 GB, free: 2.504 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.02334, allocations: 1.125 MB / 0.4899 GB, free: 1.387 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002577/0.02591, allocations: 3.398 MB / 0.4932 GB, free: 13.98 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.02698, allocations: 0.8564 MB / 0.494 GB, free: 13.12 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.02839, allocations: 1.589 MB / 0.4956 GB, free: 11.55 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.02907, allocations: 0.7539 MB / 0.4963 GB, free: 10.79 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.621e-05/0.02917, allocations: 100.9 kB / 0.4964 GB, free: 10.7 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.02961, allocations: 307.4 kB / 0.4967 GB, free: 10.39 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.0298, allocations: 295.5 kB / 0.497 GB, free: 10.11 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.03011, allocations: 435 kB / 0.4974 GB, free: 9.68 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009598/0.03107, allocations: 1.048 MB / 0.4984 GB, free: 8.629 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.03107, allocations: 0 / 0.4984 GB, free: 8.629 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.03107, allocations: 0 / 0.4984 GB, free: 8.629 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.03108, allocations: 1.031 kB / 0.4984 GB, free: 8.629 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.001252/0.03233, allocations: 1.353 MB / 0.4997 GB, free: 7.246 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.03236, allocations: 12.03 kB / 0.4998 GB, free: 7.234 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.03259, allocations: 166.7 kB / 0.4999 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/0.03347, allocations: 0.7428 MB / 0.5006 GB, free: 6.301 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.0335, allocations: 51.38 kB / 0.5007 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.03357, allocations: 79.94 kB / 0.5008 GB, free: 6.172 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005404/0.03411, allocations: 0.6915 MB / 0.5014 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.03413, allocations: 0 / 0.5014 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.03417, allocations: 32 kB / 0.5015 GB, free: 5.375 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.03419, allocations: 20.97 kB / 0.5015 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.03457, allocations: 201.8 kB / 0.5017 GB, free: 5.156 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.03628, allocations: 2.165 MB / 0.5038 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.03649, allocations: 168.4 kB / 0.504 GB, free: 2.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.03656, allocations: 69.16 kB / 0.504 GB, free: 2.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.483e-05/0.03664, allocations: 31.97 kB / 0.5041 GB, free: 2.648 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.03666, allocations: 34.56 kB / 0.5041 GB, free: 2.605 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 1.393e-06/0.03666, allocations: 2.062 kB / 0.5041 GB, free: 2.605 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.000264/0.03693, allocations: 202 kB / 0.5043 GB, free: 2.402 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.03695, allocations: 55.41 kB / 0.5043 GB, free: 2.336 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.0374, allocations: 0.677 MB / 0.505 GB, free: 1.645 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.03742, allocations: 37.64 kB / 0.505 GB, free: 1.602 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.03786, allocations: 407.6 kB / 0.5054 GB, free: 1.199 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.03792, allocations: 123 kB / 0.5055 GB, free: 1.078 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/0.03802, allocations: 110.2 kB / 0.5056 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.0381, allocations: 329.9 kB / 0.506 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.0382, allocations: 60.11 kB / 0.506 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.03841, allocations: 403.6 kB / 0.5064 GB, free: 76 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.0387, allocations: 333.7 kB / 0.5067 GB, free: 15.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.03871, allocations: 0 / 0.5067 GB, free: 15.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003962/0.0391, allocations: 355.2 kB / 0.5071 GB, free: 15.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.03912, allocations: 8 kB / 0.5071 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.03912, allocations: 4.938 kB / 0.5071 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.03914, allocations: 8 kB / 0.5071 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.03938, allocations: 125.2 kB / 0.5072 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.03939, allocations: 11.94 kB / 0.5072 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.03961, allocations: 60.8 kB / 0.5073 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.03965, allocations: 20 kB / 0.5073 GB, free: 15.11 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.0001374/0.03978, allocations: 148.5 kB / 0.5074 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.03986, allocations: 66.88 kB / 0.5075 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.04016, allocations: 251.3 kB / 0.5077 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.04017, allocations: 11.98 kB / 0.5077 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.04017, allocations: 3.938 kB / 0.5078 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001546/0.04032, allocations: 228.9 kB / 0.508 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009054/0.04123, allocations: 0.7711 MB / 0.5087 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.04123, allocations: 0 / 0.5087 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.04143, allocations: 73.73 kB / 0.5088 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.04143, allocations: 4 kB / 0.5088 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.04145, allocations: 16.05 kB / 0.5088 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.04145, allocations: 4 kB / 0.5088 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.04146, allocations: 2.062 kB / 0.5088 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.0418, allocations: 438.9 kB / 0.5092 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.04194, allocations: 111.3 kB / 0.5093 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.04199, allocations: 8 kB / 0.5093 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.04217, allocations: 21.44 kB / 0.5094 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.04223, allocations: 31.89 kB / 0.5094 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.04226, allocations: 19.92 kB / 0.5094 GB, free: 12.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.04251, allocations: 328.3 kB / 0.5097 GB, free: 12.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04251, allocations: 0 / 0.5097 GB, free: 12.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004325/0.04294, allocations: 279.4 kB / 0.51 GB, free: 12.23 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.0002295/0.04317, allocations: 167.4 kB / 0.5102 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.04342, allocations: 220.2 kB / 0.5104 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.04343, allocations: 9.656 kB / 0.5104 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.04353, allocations: 92.67 kB / 0.5105 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.0445, allocations: 491.3 kB / 0.5109 GB, free: 11.33 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.04643, allocations: 1.419 MB / 0.5123 GB, free: 9.871 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.04656, allocations: 191.7 kB / 0.5125 GB, free: 9.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.04687, allocations: 143.3 kB / 0.5126 GB, free: 9.547 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/0.04744, allocations: 369.3 kB / 0.513 GB, free: 9.184 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04744, allocations: 0 / 0.513 GB, free: 9.184 MB / 490.7 MB Notification: Performance of Templates: time 0.02099/0.06843, allocations: 17.52 MB / 0.5301 GB, free: 8.305 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.940626834053546]