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.001874/0.001874, allocations: 93.47 kB / 19.44 MB, free: 336 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.001989/0.001989, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.1559/0.1559, allocations: 17.37 MB / 276.9 MB, free: 11.69 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.663e-06/1.663e-06, allocations: 0 / 352.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.698e-05/3.864e-05, allocations: 4.844 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.04686/0.0469, allocations: 30.06 MB / 382.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.06152, allocations: 8.961 MB / 391.7 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.0627, allocations: 23.88 kB / 391.7 MB, free: 3.402 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.06588, allocations: 0.9862 MB / 392.7 MB, free: 2.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.06839, allocations: 0.8452 MB / 393.6 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.07118, allocations: 0.964 MB / 394.5 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.07428, allocations: 2.077 MB / 396.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007492/0.07503, allocations: 427.2 kB / 397 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.07673, allocations: 1.22 MB / 398.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.07779, allocations: 0.7012 MB / 398.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.07809, allocations: 220 kB / 399.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.08139, allocations: 1.17 MB / 400.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009112/0.0823, allocations: 0.6619 MB / 401 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.08342, allocations: 0.7286 MB / 401.7 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006804/0.09023, allocations: 4.074 MB / 405.8 MB, free: 5.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.09023, allocations: 4 kB / 405.8 MB, free: 5.246 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09023, allocations: 0 / 405.8 MB, free: 5.246 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.186e-05/0.09027, allocations: 0 / 405.8 MB, free: 5.246 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.005487/0.09576, allocations: 2.957 MB / 408.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.0958, allocations: 12.03 kB / 408.8 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.0981, allocations: 1.026 MB / 409.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.1001, allocations: 1.006 MB / 410.8 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1371/0.2372, allocations: 364.9 kB / 411.1 MB, free: 62.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005264/0.2377, allocations: 198.6 kB / 411.3 MB, free: 62.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.2423, allocations: 2.83 MB / 414.2 MB, free: 62.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.2423, allocations: 192 / 414.2 MB, free: 62.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.2424, allocations: 84.44 kB / 414.2 MB, free: 62.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003804/0.2428, allocations: 343.4 kB / 414.6 MB, free: 61.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007201/0.25, allocations: 6.118 MB / 420.7 MB, free: 60.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01883/0.2688, allocations: 13.82 MB / 434.5 MB, free: 47.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/0.2712, allocations: 1.151 MB / 435.7 MB, free: 46.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.2727, allocations: 0.7603 MB / 436.4 MB, free: 45.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.2739, allocations: 0.574 MB / 437 MB, free: 44.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.274, allocations: 42.39 kB / 437 MB, free: 44.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=94): time 2.865e-06/0.274, allocations: 0 / 437 MB, free: 44.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.02883/0.3028, allocations: 7.912 MB / 445 MB, free: 37.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006612/0.3094, allocations: 5.722 MB / 450.7 MB, free: 31.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.3106, allocations: 1.117 MB / 451.8 MB, free: 29.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004149/0.3111, allocations: 45.7 kB / 451.8 MB, free: 29.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.3116, allocations: 1.147 MB / 453 MB, free: 28.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000477/0.312, allocations: 465 kB / 453.4 MB, free: 28.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000847/0.3129, allocations: 428.4 kB / 453.9 MB, free: 28.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.313, allocations: 0.5473 MB / 454.4 MB, free: 27.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.3149, allocations: 0.8929 MB / 455.3 MB, free: 26.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.317, allocations: 1.159 MB / 456.5 MB, free: 25.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004971/0.3219, allocations: 2.615 MB / 459.1 MB, free: 22.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3219, allocations: 0 / 459.1 MB, free: 22.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.007482/0.3294, allocations: 2.821 MB / 461.9 MB, free: 19.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3294, allocations: 14.12 kB / 461.9 MB, free: 19.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3295, allocations: 7.984 kB / 461.9 MB, free: 19.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001524/0.331, allocations: 0.7584 MB / 462.7 MB, free: 19.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00494/0.3359, allocations: 0.8091 MB / 463.5 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009269/0.3452, allocations: 11.86 MB / 475.3 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.3467, allocations: 54.64 kB / 475.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/0.3471, allocations: 295.9 kB / 475.7 MB, free: 5.395 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): 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.00126/0.3483, allocations: 367 kB / 476 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006741/0.349, allocations: 163.2 kB / 476.2 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008206/0.3572, allocations: 3.804 MB / 480 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3572, allocations: 8 kB / 480 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3572, allocations: 4 kB / 480 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.3573, allocations: 15.14 kB / 480 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.3704, allocations: 5.62 MB / 485.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.3705, allocations: 4 kB / 485.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/0.3734, allocations: 321 kB / 486 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003279/0.3766, allocations: 478.9 kB / 486.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.3768, allocations: 39.91 kB / 486.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.3895, allocations: 10.63 MB / 497.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006717/0.3962, allocations: 4.747 MB / 0.4901 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00699/0.4032, allocations: 2.291 MB / 0.4923 GB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/0.4037, allocations: 139.3 kB / 0.4925 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/0.404, allocations: 31.95 kB / 0.4925 GB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.4048, allocations: 43.95 kB / 0.4925 GB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/0.4052, allocations: 124.7 kB / 0.4926 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/0.4053, allocations: 42.66 kB / 0.4927 GB, free: 7.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00233/0.4076, allocations: 1.527 MB / 0.4942 GB, free: 5.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4076, allocations: 4 kB / 0.4942 GB, free: 5.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00265/0.4103, allocations: 0.7301 MB / 0.4949 GB, free: 5.055 MB / 362.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.0007851/0.411, allocations: 407.7 kB / 0.4953 GB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005509/0.4166, allocations: 2.457 MB / 0.4977 GB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4166, allocations: 0 / 0.4977 GB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003153/0.4197, allocations: 1.543 MB / 0.4992 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.4219, allocations: 419.8 kB / 0.4996 GB, free: 188 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/0.4299, allocations: 4.142 MB / 0.5036 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/0.4314, allocations: 1.031 MB / 0.5046 GB, free: 10.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00169/0.4331, allocations: 358.5 kB / 0.505 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008945/0.434, allocations: 200.4 kB / 0.5052 GB, free: 10.33 MB / 378.7 MB Notification: Performance of SimCode: time 2.595e-06/0.434, allocations: 0 / 0.5052 GB, free: 10.33 MB / 378.7 MB Notification: Performance of Templates: time 0.1036/0.5376, allocations: 57.69 MB / 0.5615 GB, free: 1.809 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=240 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.125979039934464]