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.001418/0.001418, allocations: 93.06 kB / 19.65 MB, free: 276 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.001647/0.001647, allocations: 169 kB / 23.02 MB, free: 1.547 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.9479/0.9479, allocations: 177.1 MB / 203.4 MB, free: 5.406 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.7397/0.7397, allocations: 154.6 MB / 414.5 MB, free: 0.5664 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.784e-06/1.784e-06, allocations: 0 / 0.5203 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.37e-05, allocations: 6.25 kB / 0.5203 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01506/0.01508, allocations: 13.26 MB / 0.5333 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008411/0.02349, allocations: 5.403 MB / 0.5386 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008541/0.02435, allocations: 79.31 kB / 0.5386 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006611/0.02501, allocations: 365.9 kB / 0.539 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.02706, allocations: 1.347 MB / 0.5403 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.02867, allocations: 1.14 MB / 0.5414 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.03139, allocations: 3.387 MB / 0.5447 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.03239, allocations: 0.8376 MB / 0.5455 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.03447, allocations: 1.622 MB / 0.5471 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009155/0.03538, allocations: 0.8061 MB / 0.5479 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.03553, allocations: 98.34 kB / 0.548 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.03607, allocations: 291.5 kB / 0.5483 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.03632, allocations: 302.7 kB / 0.5486 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.03673, allocations: 431 kB / 0.549 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.03786, allocations: 1.055 MB / 0.55 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.03786, allocations: 0 / 0.55 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.03786, allocations: 0.5 kB / 0.55 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.122e-05/0.03788, allocations: 0.625 kB / 0.55 GB, free: 3.754 MB / 0.5105 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.001654/0.03954, allocations: 1.491 MB / 0.5515 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.03957, allocations: 8.031 kB / 0.5515 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.03991, allocations: 208 kB / 0.5517 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009893/0.0409, allocations: 0.9585 MB / 0.5526 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.04094, allocations: 58.38 kB / 0.5527 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/0.04102, allocations: 84.78 kB / 0.5527 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.04179, allocations: 0.7343 MB / 0.5535 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.04181, allocations: 4 kB / 0.5535 GB, free: 72 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.04185, allocations: 28 kB / 0.5535 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.04188, allocations: 23.94 kB / 0.5535 GB, free: 20 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.04229, allocations: 254.3 kB / 0.5538 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.0446, allocations: 2.926 MB / 0.5566 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.04488, allocations: 155.6 kB / 0.5568 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.04498, allocations: 77.2 kB / 0.5568 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.04509, allocations: 27.98 kB / 0.5569 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.04512, allocations: 48.12 kB / 0.5569 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/0.04512, allocations: 0 / 0.5569 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0004324/0.04555, allocations: 297 kB / 0.5572 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.04558, allocations: 51.41 kB / 0.5572 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.04616, allocations: 0.7531 MB / 0.558 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.04618, allocations: 33.7 kB / 0.558 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.04646, allocations: 0.5573 MB / 0.5586 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.04653, allocations: 119.6 kB / 0.5587 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.04664, allocations: 125.2 kB / 0.5588 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.04675, allocations: 0.5004 MB / 0.5593 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-05/0.04685, allocations: 57.28 kB / 0.5593 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.04711, allocations: 480.8 kB / 0.5598 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.04744, allocations: 397 kB / 0.5602 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.04744, allocations: 0.7812 kB / 0.5602 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000457/0.0479, allocations: 452.5 kB / 0.5606 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.04792, allocations: 8.875 kB / 0.5606 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.04792, allocations: 4 kB / 0.5606 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.04794, allocations: 8.781 kB / 0.5606 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.04818, allocations: 115.8 kB / 0.5607 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.04819, allocations: 17.08 kB / 0.5608 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.0484, allocations: 59.61 kB / 0.5608 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.04843, allocations: 25.28 kB / 0.5608 GB, free: 8.129 MB / 0.5261 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.0001549/0.04859, allocations: 192.4 kB / 0.561 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.795e-05/0.04867, allocations: 100.2 kB / 0.5611 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.04906, allocations: 302.5 kB / 0.5614 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.04907, allocations: 8 kB / 0.5614 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.04907, allocations: 0 / 0.5614 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002306/0.0493, allocations: 289.5 kB / 0.5617 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009596/0.05026, allocations: 1.034 MB / 0.5627 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.05027, allocations: 3.938 kB / 0.5627 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.05044, allocations: 78.23 kB / 0.5628 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.05044, allocations: 0 / 0.5628 GB, free: 6.043 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.05046, allocations: 8 kB / 0.5628 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.05047, allocations: 7.938 kB / 0.5628 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.05047, allocations: 0 / 0.5628 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.05093, allocations: 0.5369 MB / 0.5633 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.05109, allocations: 140.2 kB / 0.5634 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.05114, allocations: 8 kB / 0.5635 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.05133, allocations: 24.92 kB / 0.5635 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.05139, allocations: 39.88 kB / 0.5635 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.05141, allocations: 17.38 kB / 0.5635 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003588/0.05177, allocations: 478.9 kB / 0.564 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.05177, allocations: 0 / 0.564 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004695/0.05224, allocations: 283.3 kB / 0.5643 GB, free: 4.484 MB / 0.5261 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.000244/0.05248, allocations: 178.3 kB / 0.5644 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.0528, allocations: 239.9 kB / 0.5647 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.05281, allocations: 3.5 kB / 0.5647 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.05294, allocations: 115.2 kB / 0.5648 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.05403, allocations: 496.2 kB / 0.5652 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.05566, allocations: 1.463 MB / 0.5667 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.05577, allocations: 195.2 kB / 0.5669 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.0561, allocations: 162.5 kB / 0.567 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.05621, allocations: 76.47 kB / 0.5671 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.05621, allocations: 4 kB / 0.5671 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of Templates: time 0.01903/0.07524, allocations: 17.56 MB / 0.5842 GB, free: 0.5625 MB / 0.5417 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: 3.9546103328466415]