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.001312/0.001312, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001077/0.001077, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.046/1.046, allocations: 177.2 MB / 203.7 MB, free: 5.488 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.1005/0.1005, allocations: 17.47 MB / 277.7 MB, free: 11.38 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 3.076e-06/3.076e-06, allocations: 0 / 354 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.99e-05, allocations: 2.312 kB / 354 MB, free: 9.562 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.03264/0.03267, allocations: 32.65 MB / 386.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.04519, allocations: 9.9 MB / 396.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.04666, allocations: 55.56 kB / 396.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.0494, allocations: 1.052 MB / 397.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.05179, allocations: 1.078 MB / 398.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.05443, allocations: 1.17 MB / 399.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003133/0.05756, allocations: 2.279 MB / 402.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.05827, allocations: 423.3 kB / 402.6 MB, free: 8.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.05994, allocations: 1.321 MB / 403.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.06133, allocations: 0.9351 MB / 404.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003166/0.06164, allocations: 208 kB / 405 MB, free: 6.508 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.06459, allocations: 1.384 MB / 406.4 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.06501, allocations: 0.6619 MB / 407.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008275/0.06584, allocations: 0.7403 MB / 407.8 MB, free: 3.715 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.07058, allocations: 3.181 MB / 411 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.07058, allocations: 0 / 411 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.07058, allocations: 0 / 411 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.265e-05/0.07067, allocations: 0 / 411 MB, free: 0.5234 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.167/0.2377, allocations: 2.853 MB / 413.9 MB, free: 47.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.2377, allocations: 10.66 kB / 413.9 MB, free: 47.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.2394, allocations: 1.008 MB / 414.9 MB, free: 47.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.2411, allocations: 1.292 MB / 416.2 MB, free: 46.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.2413, allocations: 280.1 kB / 416.5 MB, free: 46.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.2415, allocations: 200.7 kB / 416.6 MB, free: 46.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.245, allocations: 2.417 MB / 419.1 MB, free: 46.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.2451, allocations: 192 / 419.1 MB, free: 46.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.2452, allocations: 81.34 kB / 419.1 MB, free: 46.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003106/0.2455, allocations: 335.5 kB / 419.5 MB, free: 46.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/0.2489, allocations: 2.922 MB / 422.4 MB, free: 46.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008712/0.2576, allocations: 8.287 MB / 430.7 MB, free: 42.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.2584, allocations: 0.4969 MB / 431.2 MB, free: 42.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.2587, allocations: 225 kB / 431.4 MB, free: 42.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003554/0.2622, allocations: 3.324 MB / 434.7 MB, free: 39.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2622, allocations: 38.05 kB / 434.8 MB, free: 39.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 3.827e-06/0.2622, allocations: 2.188 kB / 434.8 MB, free: 39.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.00489/0.2671, allocations: 2.476 MB / 437.2 MB, free: 37.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.2671, allocations: 60.06 kB / 437.3 MB, free: 36.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/0.2679, allocations: 1.072 MB / 438.4 MB, free: 36.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.2679, allocations: 41.7 kB / 438.4 MB, free: 36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.2684, allocations: 1.27 MB / 439.7 MB, free: 34.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.2685, allocations: 271.8 kB / 439.9 MB, free: 34.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/0.2688, allocations: 333 kB / 440.3 MB, free: 34.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.2688, allocations: 0.5264 MB / 440.8 MB, free: 33.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.2691, allocations: 178.5 kB / 441 MB, free: 33.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.2695, allocations: 0.8823 MB / 441.9 MB, free: 32.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.2706, allocations: 1.311 MB / 443.2 MB, free: 30.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.2706, allocations: 4 kB / 443.2 MB, free: 30.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001744/0.2723, allocations: 1.251 MB / 444.4 MB, free: 29.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.2723, allocations: 14.69 kB / 444.4 MB, free: 29.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.2724, allocations: 19.94 kB / 444.5 MB, free: 29.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.2727, allocations: 156 kB / 444.6 MB, free: 29.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.2738, allocations: 0.4924 MB / 445.1 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.2758, allocations: 5.324 MB / 450.4 MB, free: 23.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/0.2765, allocations: 47.98 kB / 450.5 MB, free: 23.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.2766, allocations: 162.6 kB / 450.6 MB, free: 23.26 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.000981/0.2776, allocations: 242.8 kB / 450.9 MB, free: 23.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.2779, allocations: 155.2 kB / 451 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/0.28, allocations: 1.547 MB / 452.6 MB, free: 21.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.28, allocations: 15.22 kB / 452.6 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.28, allocations: 0 / 452.6 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.28, allocations: 6.641 kB / 452.6 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.2827, allocations: 1.812 MB / 454.4 MB, free: 19.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.2827, allocations: 9.375 kB / 454.4 MB, free: 19.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/0.2837, allocations: 264.8 kB / 454.7 MB, free: 19.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002515/0.2839, allocations: 126 kB / 454.8 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.2839, allocations: 19.98 kB / 454.8 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.2858, allocations: 5.522 MB / 460.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2858, allocations: 3.75 kB / 460.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.287, allocations: 0.9451 MB / 461.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.2872, allocations: 91.25 kB / 461.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/0.2873, allocations: 19.98 kB / 461.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.2875, allocations: 24.52 kB / 461.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2876, allocations: 60.33 kB / 461.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.2876, allocations: 19.98 kB / 461.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004237/0.2881, allocations: 0.627 MB / 462.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2881, allocations: 3.844 kB / 462.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001582/0.2897, allocations: 442.3 kB / 462.5 MB, free: 11.41 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.0005283/0.2902, allocations: 356.4 kB / 462.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.2915, allocations: 1.144 MB / 464 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2915, allocations: 0 / 464 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.2921, allocations: 0.7367 MB / 464.8 MB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000801/0.2929, allocations: 333.2 kB / 465.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.2974, allocations: 3.332 MB / 468.4 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.2977, allocations: 445.1 kB / 468.9 MB, free: 5.156 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009862/0.2987, allocations: 427.8 kB / 469.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/0.2993, allocations: 415.2 kB / 469.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of SimCode: time 1.904e-06/0.2993, allocations: 3.75 kB / 469.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of Templates: time 0.03437/0.3337, allocations: 25.59 MB / 495.3 MB, free: 12.05 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.758684237021953]