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.0009911/0.0009911, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002327, allocations: 440 kB / 10.41 MB, free: 284 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.001012/0.001012, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.002182, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.055/1.055, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1109/1.166, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.1003/0.1003, allocations: 17.45 MB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01425/0.1145, allocations: 6.971 MB / 268.6 MB, free: 6.305 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 2.385e-06/2.385e-06, allocations: 0 / 269.9 MB, free: 5.016 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.521e-05/4.76e-05, allocations: 2.312 kB / 269.9 MB, free: 5.012 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.178/0.1781, allocations: 9.104 MB / 279 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0227/0.2008, allocations: 10.26 MB / 289.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.2026, allocations: 59.19 kB / 289.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.2056, allocations: 1.083 MB / 290.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.2094, allocations: 1.082 MB / 291.4 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003281/0.2127, allocations: 1.156 MB / 292.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003046/0.2157, allocations: 2.26 MB / 294.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005589/0.2163, allocations: 456.3 kB / 295.3 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.2178, allocations: 1.395 MB / 296.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.2188, allocations: 0.9044 MB / 297.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.219, allocations: 206.4 kB / 297.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.2224, allocations: 1.414 MB / 299.2 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003531/0.2227, allocations: 0.5569 MB / 299.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.2233, allocations: 0.6313 MB / 300.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.2272, allocations: 2.916 MB / 303.3 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.615e-05/0.2272, allocations: 3.984 kB / 303.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2272, allocations: 4 kB / 303.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.2272, allocations: 0 / 303.3 MB, free: 0.832 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.002578/0.2298, allocations: 3.027 MB / 306.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2299, allocations: 8.031 kB / 306.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.2309, allocations: 1.005 MB / 307.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009994/0.2319, allocations: 0.8863 MB / 308.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.2321, allocations: 275.4 kB / 308.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.2322, allocations: 204.3 kB / 308.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.2343, allocations: 2.448 MB / 311.2 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.2343, allocations: 192 / 311.2 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/0.2344, allocations: 88.11 kB / 311.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/0.2346, allocations: 312.7 kB / 311.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.237, allocations: 2.914 MB / 314.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007453/0.2444, allocations: 6.864 MB / 321.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.2451, allocations: 435.5 kB / 321.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.2453, allocations: 171.8 kB / 321.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003654/0.2489, allocations: 2.631 MB / 324.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.249, allocations: 47.19 kB / 324.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 2.645e-06/0.249, allocations: 0 / 324.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=76): time 0.007181/0.2562, allocations: 3.101 MB / 327.7 MB, free: 8.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.2562, allocations: 64.06 kB / 327.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.2568, allocations: 0.8205 MB / 328.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.2569, allocations: 37.7 kB / 328.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/0.2573, allocations: 1.016 MB / 329.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.2575, allocations: 285.5 kB / 329.9 MB, free: 5.777 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.2578, allocations: 262.6 kB / 330.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2579, allocations: 349.9 kB / 330.5 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.2581, allocations: 142.5 kB / 330.7 MB, free: 5.027 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.2585, allocations: 0.6246 MB / 331.3 MB, free: 4.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.2595, allocations: 1.096 MB / 332.4 MB, free: 2.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.2596, allocations: 4 kB / 332.4 MB, free: 2.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00134/0.2609, allocations: 0.9171 MB / 333.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.2609, allocations: 12 kB / 333.3 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.2609, allocations: 23.94 kB / 333.3 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.2612, allocations: 139.1 kB / 333.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.2628, allocations: 0.6124 MB / 334.1 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.265, allocations: 3.668 MB / 337.8 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/0.2656, allocations: 52.17 kB / 337.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.2657, allocations: 140 kB / 337.9 MB, free: 13 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.0006267/0.2663, allocations: 197.5 kB / 338.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.2665, allocations: 107.9 kB / 338.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.2686, allocations: 1.367 MB / 339.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2686, allocations: 7.938 kB / 339.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2686, allocations: 7.938 kB / 339.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2686, allocations: 4 kB / 339.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.2707, allocations: 1.302 MB / 340.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2707, allocations: 0 / 340.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.2718, allocations: 363.8 kB / 341.3 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.2719, allocations: 95.19 kB / 341.4 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/0.2721, allocations: 118.4 kB / 341.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.2721, allocations: 15.98 kB / 341.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.2742, allocations: 3.887 MB / 345.4 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2742, allocations: 4.047 kB / 345.4 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.2752, allocations: 0.7553 MB / 346.2 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2754, allocations: 16.06 kB / 346.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.2758, allocations: 39.98 kB / 346.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.2759, allocations: 48.39 kB / 346.3 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.2759, allocations: 15.98 kB / 346.3 MB, free: 4.223 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003484/0.2762, allocations: 440.2 kB / 346.7 MB, free: 3.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2762, allocations: 0 / 346.7 MB, free: 3.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001442/0.2777, allocations: 439.7 kB / 347.1 MB, free: 3.355 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.0005234/0.2782, allocations: 349.5 kB / 347.5 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.2794, allocations: 0.9047 MB / 348.4 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.529e-05/0.2794, allocations: 22.56 kB / 348.4 MB, free: 2.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.28, allocations: 0.5877 MB / 349 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.2817, allocations: 2.33 MB / 351.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.2929, allocations: 3.508 MB / 354.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.2934, allocations: 449.1 kB / 355.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001282/0.2947, allocations: 421.5 kB / 355.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.2954, allocations: 373 kB / 356 MB, free: 9.859 MB / 346.7 MB Notification: Performance of SimCode: time 2.935e-06/0.2954, allocations: 0 / 356 MB, free: 9.859 MB / 346.7 MB Notification: Performance of Templates: time 0.03655/0.332, allocations: 26.27 MB / 382.3 MB, free: 15.84 MB / 378.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.6666128458455205]