Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0006947/0.0006947, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008858/0.001581, 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.0007077/0.0007077, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008751/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.9875/0.9875, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09043/1.078, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1307/0.1307, allocations: 17.46 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01274/0.1434, allocations: 6.959 MB / 268.4 MB, free: 6.398 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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_master_Chemical.Processes.Tests.TestMembrane") translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Processes.Tests.TestMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 269.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.071e-05, allocations: 2.312 kB / 269.6 MB, free: 5.141 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Boundaries.mo:1361:7-1361: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.1-master/Boundaries.mo:1361:7-1361: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.1-master/Boundaries.mo:1343:7-1343: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.1-master/Boundaries.mo:1343:7-1343: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.153/0.153, allocations: 9.105 MB / 278.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.1713, allocations: 10.27 MB / 289 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.1728, allocations: 54.41 kB / 289.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.1756, allocations: 1.085 MB / 290.1 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002613/0.1782, allocations: 1.077 MB / 291.2 MB, free: 9.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.1811, allocations: 1.155 MB / 292.4 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.1839, allocations: 2.273 MB / 294.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.1845, allocations: 448.5 kB / 295.1 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.186, allocations: 1.398 MB / 296.5 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.1871, allocations: 0.8974 MB / 297.4 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.1874, allocations: 207.4 kB / 297.6 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.1906, allocations: 1.412 MB / 299 MB, free: 5.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003413/0.191, allocations: 0.5608 MB / 299.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005996/0.1916, allocations: 0.6313 MB / 300.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.1953, allocations: 2.935 MB / 303.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-05/0.1953, allocations: 0 / 303.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1953, allocations: 0 / 303.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.106e-05/0.1954, allocations: 0 / 303.1 MB, free: 0.9766 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.002677/0.1981, allocations: 3.027 MB / 306.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1981, allocations: 8.031 kB / 306.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.1992, allocations: 1.015 MB / 307.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.2003, allocations: 0.8824 MB / 308.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.2005, allocations: 271.4 kB / 308.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.2006, allocations: 200.3 kB / 308.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.2028, allocations: 2.456 MB / 311 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.2028, allocations: 192 / 311 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.715e-05/0.2029, allocations: 84.11 kB / 311.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000221/0.2031, allocations: 328.7 kB / 311.4 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.2054, allocations: 2.914 MB / 314.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006889/0.2123, allocations: 6.863 MB / 321.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.2129, allocations: 435.5 kB / 321.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.2132, allocations: 167.8 kB / 321.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003217/0.2164, allocations: 2.635 MB / 324.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2164, allocations: 39.22 kB / 324.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.294e-06/0.2164, allocations: 0 / 324.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=76): time 0.004288/0.2207, allocations: 1.982 MB / 326.4 MB, free: 9.301 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2207, allocations: 60.06 kB / 326.5 MB, free: 9.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.2213, allocations: 0.8282 MB / 327.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.2213, allocations: 37.7 kB / 327.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.2217, allocations: 1.012 MB / 328.3 MB, free: 7.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.2219, allocations: 285.6 kB / 328.6 MB, free: 7.035 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.2221, allocations: 262.6 kB / 328.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.2222, allocations: 353.8 kB / 329.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2224, allocations: 142.5 kB / 329.4 MB, free: 6.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.2228, allocations: 0.6324 MB / 330 MB, free: 5.426 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.2237, allocations: 1.042 MB / 331 MB, free: 4.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2237, allocations: 8 kB / 331 MB, free: 4.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001269/0.225, allocations: 0.9176 MB / 332 MB, free: 3.207 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.225, allocations: 12 kB / 332 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.225, allocations: 19.94 kB / 332 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002692/0.2253, allocations: 142.6 kB / 332.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.2268, allocations: 0.6163 MB / 332.7 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.2287, allocations: 3.66 MB / 336.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.2291, allocations: 59.98 kB / 336.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.2293, allocations: 136 kB / 336.6 MB, free: 14.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: 74 * Number of states: 0 () * Number of discrete variables: 2 (s1.substanceDefinitionVar.data.phase,s1.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000523/0.2298, allocations: 193.3 kB / 336.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.23, allocations: 115.9 kB / 336.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.2317, allocations: 1.356 MB / 338.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2317, allocations: 8 kB / 338.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2317, allocations: 7.922 kB / 338.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2317, allocations: 3.938 kB / 338.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.2338, allocations: 1.302 MB / 339.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2338, allocations: 4 kB / 339.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.2348, allocations: 367.8 kB / 339.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.2349, allocations: 95.19 kB / 340 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.2351, allocations: 126.3 kB / 340.1 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.2352, allocations: 15.98 kB / 340.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/0.237, allocations: 3.876 MB / 344 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.237, allocations: 4.156 kB / 344 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009469/0.238, allocations: 0.7436 MB / 344.8 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.61e-05/0.2381, allocations: 24 kB / 344.8 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.2383, allocations: 23.98 kB / 344.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.2384, allocations: 52.41 kB / 344.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.2384, allocations: 19.92 kB / 344.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003232/0.2387, allocations: 440.2 kB / 345.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2387, allocations: 0 / 345.3 MB, free: 5.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001085/0.2398, allocations: 439.7 kB / 345.8 MB, free: 4.668 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (s1.logm,p1.logm,d1.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004435/0.2403, allocations: 346.3 kB / 346.1 MB, free: 4.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.2413, allocations: 0.8977 MB / 347 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.241e-05/0.2413, allocations: 22.56 kB / 347 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004807/0.2418, allocations: 0.5523 MB / 347.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.2426, allocations: 425 kB / 348 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009224/0.2518, allocations: 3.516 MB / 351.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.2521, allocations: 449.1 kB / 351.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009389/0.2531, allocations: 425.3 kB / 352.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/0.2537, allocations: 365.1 kB / 352.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2537, allocations: 0 / 352.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of Templates: time 0.0311/0.2848, allocations: 26.03 MB / 378.7 MB, free: 3.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Processes.Tests.TestMembrane.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_master_Chemical.Processes.Tests.TestMembrane.sim & ./Chemical_master_Chemical.Processes.Tests.TestMembrane -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5830324618145823]