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.0009226/0.0009226, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009536/0.0009536, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9672/0.9672, allocations: 177.1 MB / 203.7 MB, free: 5.469 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.08059/0.08059, allocations: 17.38 MB / 277.6 MB, free: 11.45 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 2.264e-06/2.264e-06, allocations: 0 / 353.9 MB, free: 9.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.04e-05, allocations: 6.25 kB / 353.9 MB, free: 9.695 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.03574/0.03577, allocations: 32.27 MB / 386.1 MB, free: 9.551 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009527/0.0453, allocations: 8.887 MB / 395 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009564/0.04626, allocations: 27.88 kB / 395.1 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.04847, allocations: 0.994 MB / 396 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.05024, allocations: 0.8374 MB / 396.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005753/0.05599, allocations: 0.9718 MB / 397.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005725/0.06171, allocations: 2.081 MB / 399.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006867/0.0624, allocations: 427.5 kB / 400.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.06392, allocations: 1.212 MB / 401.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.06788, allocations: 0.7012 MB / 402.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.06818, allocations: 227.9 kB / 402.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005669/0.07385, allocations: 1.154 MB / 403.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004578/0.07431, allocations: 0.6658 MB / 404.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.07538, allocations: 0.7286 MB / 405 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.08586, allocations: 3.111 MB / 408.2 MB, free: 3.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.08587, allocations: 0 / 408.2 MB, free: 3.414 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.08587, allocations: 0 / 408.2 MB, free: 3.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.516e-05/0.08592, allocations: 4 kB / 408.2 MB, free: 3.41 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.006461/0.09239, allocations: 2.808 MB / 411 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.09244, allocations: 16.03 kB / 411 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1362/0.2286, allocations: 1.02 MB / 412 MB, free: 48.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.2298, allocations: 0.9595 MB / 413 MB, free: 48.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/0.2301, allocations: 367.6 kB / 413.3 MB, free: 47.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.2303, allocations: 198.8 kB / 413.5 MB, free: 47.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.2327, allocations: 2.134 MB / 415.6 MB, free: 47.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.2327, allocations: 0.9844 kB / 415.6 MB, free: 47.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.2328, allocations: 85.41 kB / 415.7 MB, free: 47.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000269/0.2331, allocations: 345.4 kB / 416.1 MB, free: 47.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.236, allocations: 2.977 MB / 419 MB, free: 47.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.2469, allocations: 10.42 MB / 429.5 MB, free: 43.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.248, allocations: 0.5468 MB / 430 MB, free: 43.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.2485, allocations: 271.7 kB / 430.3 MB, free: 43.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006776/0.2492, allocations: 0.5909 MB / 430.9 MB, free: 42.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2492, allocations: 53.19 kB / 430.9 MB, free: 42.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 3.016e-06/0.2492, allocations: 0 / 430.9 MB, free: 42.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.01227/0.2615, allocations: 4.819 MB / 435.7 MB, free: 38.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003103/0.2646, allocations: 5.038 MB / 440.8 MB, free: 33.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.2652, allocations: 0.896 MB / 441.7 MB, free: 32.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.2654, allocations: 45.7 kB / 441.7 MB, free: 32.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.2658, allocations: 1.114 MB / 442.8 MB, free: 31.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.2661, allocations: 436.3 kB / 443.3 MB, free: 31.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004963/0.2666, allocations: 401.2 kB / 443.7 MB, free: 30.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.2667, allocations: 0.522 MB / 444.2 MB, free: 30.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007133/0.2674, allocations: 329 kB / 444.5 MB, free: 30.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007665/0.2681, allocations: 0.5604 MB / 445.1 MB, free: 29.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.27, allocations: 1.228 MB / 446.3 MB, free: 28.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2701, allocations: 0 / 446.3 MB, free: 28.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003241/0.2733, allocations: 1.657 MB / 447.9 MB, free: 26.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2733, allocations: 8 kB / 447.9 MB, free: 26.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.2733, allocations: 4 kB / 448 MB, free: 26.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.2741, allocations: 0.6459 MB / 448.6 MB, free: 25.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/0.2762, allocations: 0.8022 MB / 449.4 MB, free: 25.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005201/0.2814, allocations: 14.13 MB / 463.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007092/0.2822, allocations: 46.59 kB / 463.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.2824, allocations: 283.9 kB / 463.9 MB, free: 10.29 MB / 330.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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006725/0.2831, allocations: 229.4 kB / 464.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.2834, allocations: 157.9 kB / 464.2 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/0.287, allocations: 2.891 MB / 467.1 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.287, allocations: 8 kB / 467.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.287, allocations: 4 kB / 467.1 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.287, allocations: 11.91 kB / 467.1 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004687/0.2917, allocations: 4.249 MB / 471.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.2917, allocations: 8 kB / 471.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.2928, allocations: 316.4 kB / 471.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.2941, allocations: 411.5 kB / 472.1 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.2941, allocations: 31.98 kB / 472.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004939/0.2991, allocations: 9.66 MB / 481.8 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002916/0.302, allocations: 4.309 MB / 486.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.3048, allocations: 1.532 MB / 487.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.305, allocations: 154.3 kB / 487.8 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.3052, allocations: 27.94 kB / 487.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.3056, allocations: 35.98 kB / 487.9 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.3059, allocations: 112.6 kB / 488 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.306, allocations: 31.97 kB / 488 MB, free: 1.762 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008062/0.3068, allocations: 1.037 MB / 489 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3068, allocations: 0 / 489 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001753/0.3085, allocations: 0.6663 MB / 489.7 MB, free: 92 kB / 346.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.0006225/0.3091, allocations: 422.9 kB / 490.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.3109, allocations: 1.011 MB / 491.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3109, allocations: 0 / 491.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.3119, allocations: 1.3 MB / 492.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009655/0.3129, allocations: 404.6 kB / 492.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.3176, allocations: 3.933 MB / 496.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.318, allocations: 474.2 kB / 497.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007495/0.3187, allocations: 356.8 kB / 497.6 MB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009569/0.3197, allocations: 473.9 kB / 498 MB, free: 7.789 MB / 362.7 MB Notification: Performance of SimCode: time 2.234e-06/0.3197, allocations: 0 / 498 MB, free: 7.789 MB / 362.7 MB Notification: Performance of Templates: time 0.06274/0.3824, allocations: 62.11 MB / 0.547 GB, free: 10.98 MB / 426.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 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.332545834593475]