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.002057/0.002057, 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.00253/0.00253, allocations: 169.2 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.146/0.146, allocations: 17.45 MB / 277 MB, free: 11.62 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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.654e-06/1.654e-06, allocations: 0 / 352.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.054e-05/4.219e-05, allocations: 12.7 kB / 352.8 MB, free: 10.22 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.04502/0.04506, allocations: 30.44 MB / 383.2 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01954/0.0646, allocations: 9.974 MB / 393.2 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.06615, allocations: 55.56 kB / 393.3 MB, free: 1.848 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003498/0.06965, allocations: 1.044 MB / 394.3 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003373/0.07302, allocations: 1.086 MB / 395.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.07655, allocations: 1.158 MB / 396.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003965/0.08052, allocations: 2.271 MB / 398.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008188/0.08133, allocations: 423.3 kB / 399.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.08361, allocations: 1.321 MB / 400.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.08528, allocations: 0.939 MB / 401.5 MB, free: 9.535 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003251/0.08561, allocations: 208 kB / 401.7 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.08958, allocations: 1.392 MB / 403.1 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007605/0.09034, allocations: 0.658 MB / 403.8 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.09174, allocations: 0.7403 MB / 404.5 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007673/0.09941, allocations: 4.093 MB / 408.6 MB, free: 2.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.09942, allocations: 4 kB / 408.6 MB, free: 2.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.09942, allocations: 0 / 408.6 MB, free: 2.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.015e-05/0.09949, allocations: 0 / 408.6 MB, free: 2.426 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.1792/0.2787, allocations: 2.989 MB / 411.6 MB, free: 62.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.2788, allocations: 10.12 kB / 411.6 MB, free: 62.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.2811, allocations: 1.018 MB / 412.6 MB, free: 62.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.2836, allocations: 1.304 MB / 413.9 MB, free: 61.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.2839, allocations: 272.5 kB / 414.2 MB, free: 61.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/0.2842, allocations: 198.6 kB / 414.4 MB, free: 61.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00598/0.2902, allocations: 3.192 MB / 417.6 MB, free: 60.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.2902, allocations: 192 / 417.6 MB, free: 60.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.2904, allocations: 83.05 kB / 417.6 MB, free: 60.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004412/0.2908, allocations: 342 kB / 418 MB, free: 60.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007324/0.2981, allocations: 5.943 MB / 423.9 MB, free: 57.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/0.3127, allocations: 11.28 MB / 435.2 MB, free: 46.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.3141, allocations: 0.7431 MB / 435.9 MB, free: 45.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007307/0.3148, allocations: 449.2 kB / 436.4 MB, free: 45.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006215/0.321, allocations: 3.643 MB / 440 MB, free: 41.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.321, allocations: 45.98 kB / 440.1 MB, free: 41.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 2.394e-06/0.321, allocations: 0 / 440.1 MB, free: 41.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.01007/0.3311, allocations: 3.68 MB / 443.8 MB, free: 38.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.3311, allocations: 60.06 kB / 443.8 MB, free: 37.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3324, allocations: 1.299 MB / 445.1 MB, free: 36.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.3324, allocations: 40.36 kB / 445.2 MB, free: 36.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/0.333, allocations: 1.313 MB / 446.5 MB, free: 35.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.3332, allocations: 292.6 kB / 446.8 MB, free: 34.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003999/0.3336, allocations: 356.4 kB / 447.1 MB, free: 34.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3337, allocations: 0.5512 MB / 447.7 MB, free: 34.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000701/0.3344, allocations: 401.1 kB / 448 MB, free: 33.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.3353, allocations: 1.113 MB / 449.2 MB, free: 32.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.3376, allocations: 1.888 MB / 451 MB, free: 30.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.3376, allocations: 6.688 kB / 451 MB, free: 30.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003492/0.3411, allocations: 1.715 MB / 452.8 MB, free: 28.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3411, allocations: 15.94 kB / 452.8 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.3411, allocations: 16 kB / 452.8 MB, free: 28.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000523/0.3416, allocations: 210.8 kB / 453 MB, free: 28.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.3442, allocations: 0.4916 MB / 453.5 MB, free: 27.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.3475, allocations: 5.767 MB / 459.3 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009772/0.3485, allocations: 54.64 kB / 459.3 MB, free: 21.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/0.3486, allocations: 164 kB / 459.5 MB, free: 21.3 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.SelfClustering,s1.substanceDefinitionVar.data.phase) * 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.0008245/0.3495, allocations: 394.7 kB / 459.9 MB, free: 20.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/0.3498, allocations: 155.2 kB / 460 MB, free: 20.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.3536, allocations: 1.959 MB / 462 MB, free: 18.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3536, allocations: 8 kB / 462 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3536, allocations: 2.406 kB / 462 MB, free: 18.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3536, allocations: 7.984 kB / 462 MB, free: 18.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/0.3583, allocations: 2.865 MB / 464.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3583, allocations: 1.781 kB / 464.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/0.3603, allocations: 275.1 kB / 465.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/0.3608, allocations: 168.9 kB / 465.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.3608, allocations: 19.98 kB / 465.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.3639, allocations: 5.897 MB / 471.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3639, allocations: 11.92 kB / 471.2 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.3668, allocations: 1.373 MB / 472.6 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.3671, allocations: 103.2 kB / 472.7 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.3672, allocations: 23.89 kB / 472.7 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.3678, allocations: 27.92 kB / 472.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.3679, allocations: 52.41 kB / 472.8 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.3679, allocations: 29.59 kB / 472.8 MB, free: 7.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009188/0.3689, allocations: 0.8216 MB / 473.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3689, allocations: 4 kB / 473.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001545/0.3704, allocations: 435.7 kB / 474.1 MB, free: 6.301 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.0005107/0.3709, allocations: 347.4 kB / 474.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.3734, allocations: 1.517 MB / 475.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3734, allocations: 2.656 kB / 475.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.3746, allocations: 0.8908 MB / 476.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.376, allocations: 341.6 kB / 477.2 MB, free: 3.219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005694/0.3817, allocations: 3.447 MB / 480.6 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.383, allocations: 0.975 MB / 481.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001479/0.3845, allocations: 454.7 kB / 482 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.385, allocations: 167 kB / 482.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.843e-06/0.385, allocations: 0 / 482.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Templates: time 0.05766/0.4426, allocations: 22.22 MB / 0.4926 GB, free: 8.977 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: 5.998670503031462]