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.001772/0.001772, allocations: 88.72 kB / 19.43 MB, free: 328 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.002309/0.002309, allocations: 165.3 kB / 22.75 MB, free: 1.652 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.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.1472/0.1472, allocations: 17.37 MB / 276.9 MB, free: 11.65 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.794e-06/1.794e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.173e-05, allocations: 2.312 kB / 352.7 MB, free: 10.34 MB / 282.7 MB [/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. [/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. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.04535/0.04538, allocations: 28.95 MB / 381.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.06046, allocations: 8.162 MB / 389.8 MB, free: 5.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.06197, allocations: 27.88 kB / 389.8 MB, free: 5.293 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003724/0.06569, allocations: 0.9824 MB / 390.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.06873, allocations: 0.8412 MB / 391.6 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.07211, allocations: 0.9641 MB / 392.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003963/0.07608, allocations: 2.081 MB / 394.7 MB, free: 408 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008176/0.07689, allocations: 423.2 kB / 395.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.07879, allocations: 1.216 MB / 396.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.07995, allocations: 0.7012 MB / 397 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003115/0.08027, allocations: 224 kB / 397.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.08366, allocations: 1.158 MB / 398.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006826/0.08434, allocations: 0.6658 MB / 399.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.08539, allocations: 0.7286 MB / 399.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007423/0.09281, allocations: 4.078 MB / 403.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.09282, allocations: 0 / 403.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09282, allocations: 0 / 403.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.53e-05/0.09288, allocations: 4 kB / 403.9 MB, free: 7.148 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.005088/0.09796, allocations: 2.538 MB / 406.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.098, allocations: 11.97 kB / 406.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.1008, allocations: 1.088 MB / 407.5 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.103, allocations: 1.078 MB / 408.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.1034, allocations: 375.2 kB / 408.9 MB, free: 1.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003258/0.1037, allocations: 196.3 kB / 409.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1776/0.2813, allocations: 8.321 MB / 417.5 MB, free: 59.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.829e-05/0.2813, allocations: 1.531 kB / 417.5 MB, free: 59.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.2815, allocations: 81.25 kB / 417.5 MB, free: 59.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004355/0.2819, allocations: 343 kB / 417.9 MB, free: 59.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.2957, allocations: 14.42 MB / 432.3 MB, free: 49.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02301/0.3187, allocations: 18.78 MB / 451.1 MB, free: 31.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/0.3227, allocations: 3.441 MB / 454.5 MB, free: 27.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002967/0.3257, allocations: 2.802 MB / 457.3 MB, free: 24.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/0.3273, allocations: 0.5739 MB / 457.9 MB, free: 24.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.3273, allocations: 43.56 kB / 457.9 MB, free: 24.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 4.478e-06/0.3273, allocations: 0 / 457.9 MB, free: 24.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.03947/0.3668, allocations: 16.67 MB / 474.6 MB, free: 7.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008227/0.375, allocations: 6.438 MB / 481 MB, free: 1.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.3764, allocations: 1.015 MB / 482.1 MB, free: 144 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004648/0.3768, allocations: 45.7 kB / 482.1 MB, free: 92 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009215/0.3777, allocations: 1.009 MB / 483.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008927/0.3786, allocations: 430.2 kB / 483.5 MB, free: 14.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/0.3801, allocations: 418.7 kB / 483.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.3803, allocations: 356.3 kB / 484.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005871/0.3862, allocations: 3.434 MB / 487.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006041/0.3922, allocations: 3.615 MB / 491.3 MB, free: 6.949 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03197/0.4242, allocations: 10.26 MB / 0.4898 GB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/0.4242, allocations: 4 kB / 0.4899 GB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01622/0.4404, allocations: 7.564 MB / 0.4972 GB, free: 5.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.4405, allocations: 8 kB / 0.4972 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4405, allocations: 4 kB / 0.4973 GB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/0.4431, allocations: 1.255 MB / 0.4985 GB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005645/0.4488, allocations: 0.8115 MB / 0.4993 GB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/0.4683, allocations: 13.36 MB / 0.5123 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.4699, allocations: 59.95 kB / 0.5124 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007812/0.4707, allocations: 291.9 kB / 0.5127 GB, free: 4.891 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.002213/0.4729, allocations: 0.6046 MB / 0.5132 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/0.474, allocations: 159.2 kB / 0.5134 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.4846, allocations: 3.628 MB / 0.5169 GB, free: 460 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.4846, allocations: 8 kB / 0.5169 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.4846, allocations: 8 kB / 0.517 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4846, allocations: 3.984 kB / 0.517 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.5, allocations: 6.259 MB / 0.5231 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.5, allocations: 4 kB / 0.5231 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003045/0.5031, allocations: 332.9 kB / 0.5234 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/0.5065, allocations: 497.2 kB / 0.5239 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.5067, allocations: 31.98 kB / 0.5239 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/0.5193, allocations: 8.183 MB / 0.5319 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006788/0.5261, allocations: 3.661 MB / 0.5355 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008373/0.5345, allocations: 2.606 MB / 0.538 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/0.5351, allocations: 147.2 kB / 0.5381 GB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005246/0.5356, allocations: 30.81 kB / 0.5382 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.5369, allocations: 51.95 kB / 0.5382 GB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004654/0.5374, allocations: 127.4 kB / 0.5383 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.5375, allocations: 35.97 kB / 0.5384 GB, free: 9.555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004338/0.5418, allocations: 2.309 MB / 0.5406 GB, free: 7.234 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5418, allocations: 3.938 kB / 0.5406 GB, free: 7.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003383/0.5452, allocations: 0.7379 MB / 0.5414 GB, free: 6.492 MB / 410.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.001236/0.5464, allocations: 395.7 kB / 0.5417 GB, free: 6.125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008937/0.5554, allocations: 4.325 MB / 0.546 GB, free: 1.738 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.5554, allocations: 0 / 0.546 GB, free: 1.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003471/0.5589, allocations: 1.343 MB / 0.5473 GB, free: 348 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.5615, allocations: 421 kB / 0.5477 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009304/0.5708, allocations: 4.232 MB / 0.5518 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.573, allocations: 1.063 MB / 0.5528 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001808/0.5748, allocations: 405.5 kB / 0.5532 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.576, allocations: 200.4 kB / 0.5534 GB, free: 9.977 MB / 426.7 MB Notification: Performance of SimCode: time 1.402e-06/0.576, allocations: 2.625 kB / 0.5534 GB, free: 9.977 MB / 426.7 MB Notification: Performance of Templates: time 0.2387/0.8147, allocations: 57.04 MB / 0.6091 GB, free: 114.5 MB / 426.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.121305522014154]