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.001529/0.001529, allocations: 93.06 kB / 19.65 MB, free: 280 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.001957/0.001957, allocations: 173 kB / 23.02 MB, free: 1.551 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 0.9944/0.9944, allocations: 177.2 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.09706/0.09706, allocations: 17.47 MB / 277.4 MB, free: 11.56 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 2.094e-06/2.094e-06, allocations: 0 / 353.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.181e-05, allocations: 6.25 kB / 353.5 MB, free: 9.867 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.03858/0.03861, allocations: 32.81 MB / 386.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.05213, allocations: 10.03 MB / 396.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.05379, allocations: 59.5 kB / 396.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.05647, allocations: 1.052 MB / 397.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.05922, allocations: 1.082 MB / 398.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.06197, allocations: 1.174 MB / 399.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002633/0.0646, allocations: 2.26 MB / 402 MB, free: 9.453 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005319/0.06513, allocations: 431.3 kB / 402.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.06692, allocations: 1.325 MB / 403.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.06811, allocations: 0.939 MB / 404.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003084/0.06842, allocations: 208 kB / 404.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.07118, allocations: 1.384 MB / 406.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.07157, allocations: 0.6658 MB / 406.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.07218, allocations: 0.7325 MB / 407.7 MB, free: 3.727 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004006/0.07619, allocations: 3.181 MB / 410.8 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.07619, allocations: 0 / 410.8 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.0762, allocations: 0 / 410.8 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.294e-05/0.07623, allocations: 0 / 410.8 MB, free: 0.5352 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.152/0.2283, allocations: 2.837 MB / 413.7 MB, free: 47.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2283, allocations: 9.5 kB / 413.7 MB, free: 47.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.2298, allocations: 1.012 MB / 414.7 MB, free: 47.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.2313, allocations: 1.299 MB / 416 MB, free: 46.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.2315, allocations: 275.6 kB / 416.3 MB, free: 46.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.2317, allocations: 200.6 kB / 416.5 MB, free: 46.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003816/0.2355, allocations: 2.859 MB / 419.3 MB, free: 46.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.2355, allocations: 192 / 419.3 MB, free: 46.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.2356, allocations: 78.91 kB / 419.4 MB, free: 46.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003281/0.236, allocations: 335 kB / 419.7 MB, free: 46.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004313/0.2403, allocations: 3.694 MB / 423.4 MB, free: 46.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009382/0.2496, allocations: 8.691 MB / 432.1 MB, free: 41.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.2507, allocations: 0.5424 MB / 432.7 MB, free: 40.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/0.2512, allocations: 253.7 kB / 432.9 MB, free: 40.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004367/0.2556, allocations: 3.318 MB / 436.2 MB, free: 37.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.2556, allocations: 42.05 kB / 436.3 MB, free: 37.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 3.537e-06/0.2556, allocations: 0 / 436.3 MB, free: 37.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.006482/0.2621, allocations: 2.87 MB / 439.1 MB, free: 34.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.2621, allocations: 63.16 kB / 439.2 MB, free: 34.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008981/0.263, allocations: 1.079 MB / 440.3 MB, free: 33.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.2631, allocations: 41.7 kB / 440.3 MB, free: 33.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.2636, allocations: 1.253 MB / 441.6 MB, free: 32.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.2638, allocations: 286.2 kB / 441.8 MB, free: 31.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003279/0.2641, allocations: 316.4 kB / 442.2 MB, free: 31.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.2642, allocations: 0.5277 MB / 442.7 MB, free: 31.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.2646, allocations: 222 kB / 442.9 MB, free: 30.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.2652, allocations: 0.9155 MB / 443.8 MB, free: 29.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.2666, allocations: 1.397 MB / 445.2 MB, free: 27.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.2666, allocations: 4 kB / 445.2 MB, free: 27.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002343/0.2689, allocations: 1.335 MB / 446.5 MB, free: 26.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.269, allocations: 15.94 kB / 446.6 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.269, allocations: 19.98 kB / 446.6 MB, free: 26.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000356/0.2693, allocations: 157.5 kB / 446.7 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.271, allocations: 0.4936 MB / 447.2 MB, free: 26.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.2734, allocations: 5.407 MB / 452.6 MB, free: 20.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.274, allocations: 54.67 kB / 452.7 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.2742, allocations: 172 kB / 452.9 MB, free: 20.12 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.0005791/0.2747, allocations: 250 kB / 453.1 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.275, allocations: 151.2 kB / 453.2 MB, free: 19.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.2775, allocations: 1.574 MB / 454.8 MB, free: 18.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.2775, allocations: 10.66 kB / 454.8 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2775, allocations: 0 / 454.8 MB, free: 18.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2775, allocations: 7.984 kB / 454.8 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.2807, allocations: 2.286 MB / 457.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2807, allocations: 0 / 457.1 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.2819, allocations: 271.5 kB / 457.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002937/0.2822, allocations: 124 kB / 457.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.2823, allocations: 23.98 kB / 457.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.2843, allocations: 5.597 MB / 463.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2843, allocations: 4 kB / 463.1 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2859, allocations: 1.017 MB / 464.2 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.286, allocations: 101.9 kB / 464.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.2861, allocations: 16 kB / 464.3 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.2865, allocations: 23.98 kB / 464.3 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2866, allocations: 60.05 kB / 464.4 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.2866, allocations: 23.98 kB / 464.4 MB, free: 8.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006103/0.2872, allocations: 0.6654 MB / 465 MB, free: 7.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2872, allocations: 2.625 kB / 465 MB, free: 7.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001394/0.2886, allocations: 439.7 kB / 465.5 MB, free: 7.199 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.000457/0.2891, allocations: 361.7 kB / 465.8 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.2906, allocations: 1.216 MB / 467 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2906, allocations: 0 / 467 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.2912, allocations: 0.7672 MB / 467.8 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.2923, allocations: 351.1 kB / 468.2 MB, free: 4.602 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.297, allocations: 3.325 MB / 471.5 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.2973, allocations: 449.1 kB / 471.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001036/0.2983, allocations: 453.5 kB / 472.4 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.2987, allocations: 165.8 kB / 472.5 MB, free: 372 kB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2987, allocations: 0 / 472.5 MB, free: 372 kB / 330.7 MB Notification: Performance of Templates: time 0.03401/0.3327, allocations: 25.35 MB / 497.9 MB, free: 8.172 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: 4.083420943003148]