Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Processes.Tests.TestMembrane.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.0009194/0.0009194, allocations: 80.88 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.001002/0.001002, 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 1.047/1.047, 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/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09876/0.09876, allocations: 17.39 MB / 277.6 MB, free: 11.51 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 300.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.611e-05, allocations: 5.656 kB / 300.6 MB, free: 1.836 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.0482/0.04822, allocations: 38.1 MB / 338.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.05927, allocations: 9.128 MB / 347.9 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.06067, allocations: 23.88 kB / 347.9 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002351/0.06302, allocations: 1.033 MB / 348.9 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.065, allocations: 0.8257 MB / 349.8 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.06709, allocations: 0.9678 MB / 350.7 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002742/0.06983, allocations: 2.085 MB / 352.8 MB, free: 352 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005663/0.0704, allocations: 455.2 kB / 353.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.07169, allocations: 1.22 MB / 354.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000861/0.07255, allocations: 0.6973 MB / 355.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002785/0.07283, allocations: 224 kB / 355.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.07525, allocations: 1.19 MB / 356.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.07566, allocations: 0.6619 MB / 357.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008137/0.07647, allocations: 0.7286 MB / 358 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004411/0.08088, allocations: 3.115 MB / 361.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.08089, allocations: 0 / 361.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.08089, allocations: 0 / 361.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.272e-05/0.08095, allocations: 4 kB / 361.1 MB, free: 7.984 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.002588/0.08354, allocations: 2.5 MB / 363.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.08357, allocations: 12.03 kB / 363.6 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.08481, allocations: 0.9265 MB / 364.5 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/0.08574, allocations: 0.7185 MB / 365.2 MB, free: 3.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.086, allocations: 371.2 kB / 365.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.08617, allocations: 196.4 kB / 365.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.08856, allocations: 2.292 MB / 368.1 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.08859, allocations: 192 / 368.1 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.08868, allocations: 84.11 kB / 368.2 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002448/0.08892, allocations: 344.7 kB / 368.5 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/0.09136, allocations: 2.856 MB / 371.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.1024, allocations: 8.612 MB / 380 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.1037, allocations: 0.5162 MB / 380.5 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.1042, allocations: 211.8 kB / 380.7 MB, free: 4.109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007641/0.105, allocations: 0.5713 MB / 381.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.105, allocations: 39.56 kB / 381.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of pre-optimization done (n=94): time 3.777e-06/0.105, allocations: 0 / 381.3 MB, free: 3.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.01557/0.1206, allocations: 4.574 MB / 385.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004344/0.1249, allocations: 3.686 MB / 389.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007171/0.1257, allocations: 0.6715 MB / 390.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.1259, allocations: 45.7 kB / 390.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.1264, allocations: 0.8728 MB / 391.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.1268, allocations: 436.1 kB / 391.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007402/0.1275, allocations: 294.7 kB / 391.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1276, allocations: 353.8 kB / 392.2 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.1287, allocations: 281.3 kB / 392.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.1297, allocations: 454.1 kB / 392.9 MB, free: 7.473 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/0.1325, allocations: 1.126 MB / 394.1 MB, free: 6.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.1325, allocations: 0 / 394.1 MB, free: 6.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004907/0.1374, allocations: 1.212 MB / 395.3 MB, free: 5.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1374, allocations: 11.94 kB / 395.3 MB, free: 5.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.1374, allocations: 4 kB / 395.3 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.1386, allocations: 0.64 MB / 395.9 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003947/0.1426, allocations: 0.7778 MB / 396.7 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.1548, allocations: 7.347 MB / 404.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/0.1586, allocations: 47.92 kB / 404.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/0.159, allocations: 271.8 kB / 404.4 MB, free: 11.4 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: d1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007125/0.1597, allocations: 180.5 kB / 404.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/0.1602, allocations: 107.9 kB / 404.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.174, allocations: 2.574 MB / 407.2 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.174, allocations: 15.94 kB / 407.2 MB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.174, allocations: 4 kB / 407.2 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.174, allocations: 7.969 kB / 407.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008768/0.1828, allocations: 3.175 MB / 410.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.1828, allocations: 12.12 kB / 410.4 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/0.1846, allocations: 399.4 kB / 410.8 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/0.1862, allocations: 436.6 kB / 411.2 MB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/0.1863, allocations: 27.98 kB / 411.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005469/0.1918, allocations: 6.83 MB / 418.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002704/0.1945, allocations: 3.136 MB / 421.2 MB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/0.1973, allocations: 1.343 MB / 422.6 MB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/0.1977, allocations: 131.1 kB / 422.7 MB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.1979, allocations: 31.94 kB / 422.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/0.1984, allocations: 39.98 kB / 422.8 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.1987, allocations: 108.7 kB / 422.9 MB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.1987, allocations: 31.98 kB / 422.9 MB, free: 7.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008495/0.1996, allocations: 0.7451 MB / 423.7 MB, free: 6.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1996, allocations: 0 / 423.7 MB, free: 6.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002143/0.2017, allocations: 0.7262 MB / 424.4 MB, free: 6.242 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 3 ($STATESET2.x,$STATESET1.x,d1.rear.n_flow) * Number of discrete variables: 2 ($cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006396/0.2024, allocations: 404.2 kB / 424.8 MB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.2047, allocations: 1.293 MB / 426.1 MB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/0.2048, allocations: 16 kB / 426.1 MB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.2061, allocations: 0.9989 MB / 427.1 MB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.2072, allocations: 398.3 kB / 427.5 MB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/0.214, allocations: 3.89 MB / 431.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.2145, allocations: 482.4 kB / 431.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001141/0.2156, allocations: 349.6 kB / 432.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009739/0.2166, allocations: 381 kB / 432.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/0.2166, allocations: 0 / 432.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of Templates: time 0.1974/0.414, allocations: 65.7 MB / 498.3 MB, free: 84.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Processes.Tests.TestMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_Chemical.Processes.Tests.TestMembrane.sim & ./Chemical_Chemical.Processes.Tests.TestMembrane -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.608454420231283]