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.000904/0.000904, 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.00102/0.00102, 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.1007/0.1007, allocations: 17.38 MB / 277.6 MB, free: 11.53 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.222e-06/1.222e-06, allocations: 0 / 300.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.438e-06/1.066e-05, allocations: 3.078 kB / 300.6 MB, free: 1.887 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.03331/0.03332, allocations: 38.08 MB / 338.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.04338, allocations: 9.108 MB / 347.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007036/0.04408, allocations: 27.88 kB / 347.8 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.04597, allocations: 1.021 MB / 348.8 MB, free: 4.363 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.04736, allocations: 0.8452 MB / 349.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.04931, allocations: 0.9835 MB / 350.7 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001808/0.05112, allocations: 2.081 MB / 352.7 MB, free: 444 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005766/0.0517, allocations: 459.8 kB / 353.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.05283, allocations: 1.22 MB / 354.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.05344, allocations: 0.6934 MB / 355.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.05361, allocations: 220 kB / 355.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.05533, allocations: 1.162 MB / 356.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.05568, allocations: 0.6542 MB / 357.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.05618, allocations: 0.7325 MB / 357.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.05858, allocations: 3.119 MB / 361 MB, free: 8.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.05858, allocations: 0 / 361 MB, free: 8.109 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.05858, allocations: 0 / 361 MB, free: 8.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.0586, allocations: 0 / 361 MB, free: 8.109 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.002083/0.06068, allocations: 2.496 MB / 363.5 MB, free: 5.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.06071, allocations: 12.03 kB / 363.5 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.06179, allocations: 0.9265 MB / 364.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007433/0.06253, allocations: 0.7224 MB / 365.1 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.06273, allocations: 367.2 kB / 365.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.06289, allocations: 204.3 kB / 365.7 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.06475, allocations: 2.292 MB / 368 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.06478, allocations: 4.188 kB / 368 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/0.06486, allocations: 80.11 kB / 368.1 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/0.06509, allocations: 344.7 kB / 368.4 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.06727, allocations: 2.848 MB / 371.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009181/0.07645, allocations: 8.612 MB / 379.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.07748, allocations: 0.5201 MB / 380.4 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/0.07804, allocations: 207.8 kB / 380.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006891/0.07873, allocations: 0.579 MB / 381.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.07875, allocations: 39.56 kB / 381.2 MB, free: 3.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=94): time 1.913e-06/0.07875, allocations: 0 / 381.2 MB, free: 3.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.01285/0.0916, allocations: 4.568 MB / 385.8 MB, free: 15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002982/0.09458, allocations: 3.682 MB / 389.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.09504, allocations: 0.6715 MB / 390.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.09518, allocations: 49.7 kB / 390.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/0.09552, allocations: 0.869 MB / 391 MB, free: 9.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.09581, allocations: 436.1 kB / 391.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/0.09633, allocations: 294.7 kB / 391.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.09641, allocations: 357.9 kB / 392.1 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007774/0.09719, allocations: 281.2 kB / 392.4 MB, free: 8.098 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/0.09804, allocations: 458.1 kB / 392.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.1001, allocations: 1.122 MB / 394 MB, free: 6.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1001, allocations: 0 / 394 MB, free: 6.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002853/0.1029, allocations: 1.212 MB / 395.2 MB, free: 5.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1029, allocations: 13.5 kB / 395.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.103, allocations: 8.188 kB / 395.2 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007987/0.1037, allocations: 0.6399 MB / 395.8 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.1059, allocations: 0.6242 MB / 396.5 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004588/0.1105, allocations: 7.312 MB / 403.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.1109, allocations: 48.02 kB / 403.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.1112, allocations: 275.9 kB / 404.1 MB, free: 11.71 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.0004902/0.1117, allocations: 180.3 kB / 404.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.112, allocations: 111.9 kB / 404.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/0.1157, allocations: 2.57 MB / 406.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1157, allocations: 12 kB / 406.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1157, allocations: 0 / 406.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1157, allocations: 11.92 kB / 407 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.1198, allocations: 3.182 MB / 410.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1198, allocations: 4 kB / 410.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.1209, allocations: 308.3 kB / 410.4 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.1221, allocations: 436.5 kB / 410.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.1222, allocations: 35.97 kB / 410.9 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.1259, allocations: 6.806 MB / 417.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002076/0.1279, allocations: 3.131 MB / 420.8 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.1299, allocations: 1.347 MB / 422.2 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.13, allocations: 131.5 kB / 422.3 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.1301, allocations: 27.95 kB / 422.3 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.1305, allocations: 43.98 kB / 422.4 MB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.1306, allocations: 112.5 kB / 422.5 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.1307, allocations: 39.97 kB / 422.5 MB, free: 8.129 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005705/0.1313, allocations: 0.7373 MB / 423.3 MB, free: 7.379 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1313, allocations: 0 / 423.3 MB, free: 7.379 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001187/0.1324, allocations: 0.734 MB / 424 MB, free: 6.645 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.0004416/0.1329, allocations: 404.6 kB / 424.4 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.1344, allocations: 1.289 MB / 425.7 MB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.1344, allocations: 12 kB / 425.7 MB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008825/0.1353, allocations: 1.003 MB / 426.7 MB, free: 3.812 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/0.1361, allocations: 382.3 kB / 427.1 MB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/0.1402, allocations: 3.897 MB / 431 MB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.1406, allocations: 474.4 kB / 431.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006239/0.1412, allocations: 357.6 kB / 431.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000888/0.1421, allocations: 385 kB / 432.2 MB, free: 14.17 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1421, allocations: 0 / 432.2 MB, free: 14.17 MB / 410.7 MB Notification: Performance of Templates: time 0.181/0.323, allocations: 65.49 MB / 497.7 MB, free: 84.54 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 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.313949561212212]