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.0007237/0.0007237, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009117/0.001635, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000698/0.000698, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008846/0.001583, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9121/0.9121, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08546/0.9975, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.09714/0.09714, allocations: 17.37 MB / 261.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0108/0.1079, allocations: 6.929 MB / 268.3 MB, free: 6.527 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.653e-06/1.653e-06, allocations: 0 / 269.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.968e-05, allocations: 6.312 kB / 269.5 MB, free: 5.27 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.1394/0.1394, allocations: 8.72 MB / 278.2 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.1507, allocations: 9.2 MB / 287.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009715/0.1517, allocations: 25.41 kB / 287.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.1541, allocations: 1.02 MB / 288.5 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.1561, allocations: 0.8369 MB / 289.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.1588, allocations: 0.9666 MB / 290.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00284/0.1616, allocations: 2.078 MB / 292.4 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/0.1623, allocations: 456.7 kB / 292.8 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.164, allocations: 1.336 MB / 294.1 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.1651, allocations: 0.6929 MB / 294.8 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003069/0.1654, allocations: 219.7 kB / 295.1 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.1685, allocations: 1.205 MB / 296.3 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.1689, allocations: 0.554 MB / 296.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000917/0.1698, allocations: 0.6108 MB / 297.4 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.1739, allocations: 2.866 MB / 300.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-05/0.174, allocations: 0 / 300.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.174, allocations: 4 kB / 300.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.695e-05/0.174, allocations: 0 / 300.3 MB, free: 3.891 MB / 282.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.003426/0.1775, allocations: 2.949 MB / 303.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1775, allocations: 8.031 kB / 303.2 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.1791, allocations: 1.013 MB / 304.3 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.1802, allocations: 0.7185 MB / 305 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.1804, allocations: 367.2 kB / 305.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.1807, allocations: 204.3 kB / 305.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.1833, allocations: 2.293 MB / 307.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/0.1833, allocations: 192 / 307.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1834, allocations: 88.09 kB / 307.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003115/0.1837, allocations: 340.7 kB / 308.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.1867, allocations: 2.847 MB / 311.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.1998, allocations: 8.648 MB / 319.7 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.2011, allocations: 0.5169 MB / 320.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006905/0.2018, allocations: 211.8 kB / 320.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009109/0.2027, allocations: 0.5713 MB / 321 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.2028, allocations: 51.55 kB / 321.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 3.427e-06/0.2028, allocations: 0 / 321.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01731/0.2201, allocations: 4.572 MB / 325.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003569/0.2237, allocations: 3.684 MB / 329.3 MB, free: 6.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.2242, allocations: 0.6715 MB / 330 MB, free: 5.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.2244, allocations: 49.7 kB / 330.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.2247, allocations: 0.8728 MB / 330.9 MB, free: 4.641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.225, allocations: 440.1 kB / 331.4 MB, free: 4.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004995/0.2255, allocations: 302.7 kB / 331.7 MB, free: 3.906 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.2256, allocations: 353.8 kB / 332 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.2263, allocations: 277.3 kB / 332.3 MB, free: 3.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.2271, allocations: 450.2 kB / 332.7 MB, free: 2.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.229, allocations: 1.13 MB / 333.9 MB, free: 1.586 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.229, allocations: 0 / 333.9 MB, free: 1.586 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003121/0.2322, allocations: 1.219 MB / 335.1 MB, free: 336 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2322, allocations: 11.94 kB / 335.1 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2322, allocations: 4 kB / 335.1 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008559/0.2331, allocations: 0.6361 MB / 335.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003284/0.2363, allocations: 0.905 MB / 336.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/0.2414, allocations: 7.336 MB / 344 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/0.2422, allocations: 43.92 kB / 344 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.2424, allocations: 275.9 kB / 344.3 MB, free: 6.594 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.0007788/0.2432, allocations: 176.4 kB / 344.4 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003724/0.2436, allocations: 115.9 kB / 344.6 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.2472, allocations: 2.574 MB / 347.1 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.2472, allocations: 15.94 kB / 347.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2472, allocations: 3.938 kB / 347.2 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2472, allocations: 7.969 kB / 347.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00463/0.2518, allocations: 3.175 MB / 350.3 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2518, allocations: 4 kB / 350.3 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.2532, allocations: 433.6 kB / 350.8 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.2533, allocations: 131.1 kB / 350.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.2546, allocations: 424.5 kB / 351.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.2546, allocations: 35.97 kB / 351.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004213/0.2588, allocations: 6.83 MB / 358.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002069/0.2609, allocations: 3.139 MB / 361.3 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.2632, allocations: 1.339 MB / 362.6 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.2634, allocations: 31.98 kB / 362.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.2637, allocations: 35.98 kB / 362.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.2639, allocations: 116.6 kB / 362.8 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.2639, allocations: 23.98 kB / 362.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006014/0.2645, allocations: 0.7451 MB / 363.6 MB, free: 2.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2645, allocations: 0 / 363.6 MB, free: 2.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001615/0.2661, allocations: 0.734 MB / 364.3 MB, free: 1.414 MB / 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.0005055/0.2667, allocations: 417.3 kB / 364.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.2683, allocations: 1.286 MB / 366 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/0.2683, allocations: 12 kB / 366 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008805/0.2692, allocations: 0.9984 MB / 367 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.2701, allocations: 0.5067 MB / 367.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.2803, allocations: 4.136 MB / 371.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.2807, allocations: 482.4 kB / 372.1 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007334/0.2814, allocations: 357.6 kB / 372.5 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008985/0.2823, allocations: 385 kB / 372.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2823, allocations: 0 / 372.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of Templates: time 0.1842/0.4665, allocations: 66.64 MB / 439.5 MB, free: 117.8 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: 3.867446073330939]