Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.0008739/0.0008739, allocations: 72.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.0007935/0.0007935, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8877/0.8877, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:686: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-531:694: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.6936/0.6936, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.122e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3962/0.3962, allocations: 70.52 MB / 0.6882 GB, free: 44.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.4144, allocations: 17.62 MB / 0.7054 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.4177, allocations: 155.9 kB / 0.7056 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.42, allocations: 1.245 MB / 0.7068 GB, free: 44.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007721/0.4278, allocations: 3.993 MB / 0.7107 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.4319, allocations: 2.272 MB / 0.7129 GB, free: 41.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006935/0.4389, allocations: 6.878 MB / 0.7196 GB, free: 38.62 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002174/0.441, allocations: 1.593 MB / 0.7212 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005733/0.4468, allocations: 3.576 MB / 0.7247 GB, free: 36.48 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.4491, allocations: 1.558 MB / 0.7262 GB, free: 36.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.4494, allocations: 199 kB / 0.7264 GB, free: 36.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.4534, allocations: 1.35 MB / 0.7277 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006317/0.4541, allocations: 0.5876 MB / 0.7283 GB, free: 35.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.4552, allocations: 0.8551 MB / 0.7291 GB, free: 35.08 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00577/0.461, allocations: 3.801 MB / 0.7328 GB, free: 33.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.461, allocations: 1.938 kB / 0.7328 GB, free: 33.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.735e-06/0.461, allocations: 0 / 0.7328 GB, free: 33.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.002e-05/0.461, allocations: 0 / 0.7328 GB, free: 33.93 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004072/0.4651, allocations: 2.69 MB / 0.7354 GB, free: 32.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.4651, allocations: 10.56 kB / 0.7355 GB, free: 32.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/0.4657, allocations: 277.9 kB / 0.7357 GB, free: 32.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002912/0.4686, allocations: 1.988 MB / 0.7377 GB, free: 31.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.531e-05/0.4687, allocations: 108.4 kB / 0.7378 GB, free: 31.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.4689, allocations: 142.2 kB / 0.7379 GB, free: 31.06 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.4712, allocations: 1.817 MB / 0.7397 GB, free: 29.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.4712, allocations: 4.953 kB / 0.7397 GB, free: 29.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/0.4713, allocations: 61.59 kB / 0.7397 GB, free: 29.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.729e-05/0.4713, allocations: 45.09 kB / 0.7398 GB, free: 29.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.4732, allocations: 1.122 MB / 0.7409 GB, free: 29.55 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.006143/0.4793, allocations: 5.092 MB / 0.7458 GB, free: 26.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.4802, allocations: 444.4 kB / 0.7463 GB, free: 26.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/0.4807, allocations: 307.1 kB / 0.7466 GB, free: 26.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003482/0.481, allocations: 106.8 kB / 0.7467 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.4811, allocations: 48.47 kB / 0.7467 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 4.368e-06/0.4811, allocations: 0 / 0.7467 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.001764/0.4828, allocations: 0.9425 MB / 0.7476 GB, free: 25.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.4829, allocations: 58.28 kB / 0.7477 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4848, allocations: 1.549 MB / 0.7492 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.4848, allocations: 40.05 kB / 0.7492 GB, free: 24.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006627/0.4855, allocations: 0.9586 MB / 0.7502 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.4857, allocations: 232.5 kB / 0.7504 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.486, allocations: 227.8 kB / 0.7506 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.4861, allocations: 349.6 kB / 0.7509 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.4866, allocations: 329.3 kB / 0.7513 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008457/0.4874, allocations: 0.9666 MB / 0.7522 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.4887, allocations: 1.015 MB / 0.7532 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.4887, allocations: 4.125 kB / 0.7532 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0018/0.4905, allocations: 1.2 MB / 0.7544 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.4905, allocations: 13.56 kB / 0.7544 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.4906, allocations: 15.41 kB / 0.7544 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.704e-05/0.4906, allocations: 16.98 kB / 0.7544 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.4913, allocations: 292.7 kB / 0.7547 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/0.4913, allocations: 20.95 kB / 0.7547 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008132/0.4921, allocations: 137.7 kB / 0.7548 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.4922, allocations: 55.75 kB / 0.7549 GB, free: 21.33 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0004857/0.4927, allocations: 437 kB / 0.7553 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.4929, allocations: 180.1 kB / 0.7555 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.4941, allocations: 0.8589 MB / 0.7563 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.4941, allocations: 8.391 kB / 0.7563 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4941, allocations: 0 / 0.7563 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009243/0.495, allocations: 0.8068 MB / 0.7571 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.4977, allocations: 2.074 MB / 0.7591 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4977, allocations: 2.688 kB / 0.7591 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.4981, allocations: 178.2 kB / 0.7593 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.4981, allocations: 5.656 kB / 0.7593 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.4982, allocations: 20.61 kB / 0.7593 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.4982, allocations: 8.125 kB / 0.7594 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4982, allocations: 2.625 kB / 0.7594 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.4998, allocations: 1.328 MB / 0.7607 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.5001, allocations: 270.1 kB / 0.7609 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.5003, allocations: 13.75 kB / 0.7609 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.5007, allocations: 61.59 kB / 0.761 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5008, allocations: 55.62 kB / 0.761 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.5009, allocations: 37.98 kB / 0.7611 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001032/0.5019, allocations: 1.018 MB / 0.7621 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5019, allocations: 0.9688 kB / 0.7621 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002025/0.5039, allocations: 0.6939 MB / 0.7627 GB, free: 17.81 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0009636/0.5049, allocations: 0.6035 MB / 0.7633 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.506, allocations: 0.7838 MB / 0.7641 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.506, allocations: 2.219 kB / 0.7641 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.5065, allocations: 341.1 kB / 0.7644 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.5087, allocations: 0.9103 MB / 0.7653 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.5124, allocations: 3.014 MB / 0.7683 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.513, allocations: 0.8217 MB / 0.7691 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.5133, allocations: 134.8 kB / 0.7692 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of SimCode: time 1.944e-06/0.5133, allocations: 0 / 0.7692 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.03463/0.5479, allocations: 32.76 MB / 0.8012 GB, free: 7.953 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.538853925652802] Failed to read output from testmodel.py, exit status != 0: 0.5537843136116862 0.561794888 0.09903874 Calling exit ...