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.0009346/0.0009346, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001187/0.001187, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.069/1.069, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.09212/0.09212, allocations: 17.47 MB / 278.5 MB, free: 11.4 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.193e-06/1.193e-06, allocations: 0 / 354.8 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.463e-05, allocations: 2.312 kB / 354.8 MB, free: 9.59 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.04593/0.04594, allocations: 32.64 MB / 387.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0121/0.05804, allocations: 9.896 MB / 397.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.05946, allocations: 55.56 kB / 397.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.06182, allocations: 1.044 MB / 398.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.06439, allocations: 1.09 MB / 399.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.06684, allocations: 1.166 MB / 400.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.06943, allocations: 2.271 MB / 402.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000928/0.07035, allocations: 419.3 kB / 403.3 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.07202, allocations: 1.321 MB / 404.7 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.07339, allocations: 0.9429 MB / 405.6 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.07374, allocations: 208 kB / 405.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.07693, allocations: 1.384 MB / 407.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.07746, allocations: 0.6619 MB / 407.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.07872, allocations: 0.7364 MB / 408.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005344/0.08407, allocations: 3.177 MB / 411.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.08407, allocations: 7.938 kB / 411.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.08407, allocations: 0 / 411.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.023e-05/0.08416, allocations: 0 / 411.8 MB, free: 0.5586 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.1464/0.2306, allocations: 2.855 MB / 414.6 MB, free: 47.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2306, allocations: 8.938 kB / 414.6 MB, free: 47.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.2322, allocations: 1.014 MB / 415.7 MB, free: 47.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.2339, allocations: 1.287 MB / 416.9 MB, free: 46.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.2341, allocations: 275.5 kB / 417.2 MB, free: 46.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.2343, allocations: 197.4 kB / 417.4 MB, free: 46.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003689/0.238, allocations: 2.422 MB / 419.8 MB, free: 46.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.238, allocations: 192 / 419.8 MB, free: 46.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.2381, allocations: 80.77 kB / 419.9 MB, free: 46.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003365/0.2384, allocations: 335.2 kB / 420.2 MB, free: 46.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003474/0.2419, allocations: 2.923 MB / 423.2 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.2519, allocations: 8.285 MB / 431.4 MB, free: 42.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008475/0.2528, allocations: 0.4958 MB / 431.9 MB, free: 42.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.2531, allocations: 218.7 kB / 432.1 MB, free: 42.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003661/0.2567, allocations: 3.296 MB / 435.4 MB, free: 39.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2568, allocations: 46.05 kB / 435.5 MB, free: 39.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=69): time 2.244e-06/0.2568, allocations: 0 / 435.5 MB, free: 39.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.005146/0.2619, allocations: 2.481 MB / 438 MB, free: 37.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.2619, allocations: 62.72 kB / 438 MB, free: 37.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/0.2627, allocations: 1.076 MB / 439.1 MB, free: 36.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.2627, allocations: 33.7 kB / 439.1 MB, free: 36.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.2632, allocations: 1.274 MB / 440.4 MB, free: 34.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.2633, allocations: 277.8 kB / 440.7 MB, free: 34.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.2636, allocations: 333.5 kB / 441 MB, free: 34.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.2637, allocations: 0.5205 MB / 441.5 MB, free: 33.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.2639, allocations: 185.2 kB / 441.7 MB, free: 33.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.2643, allocations: 0.8802 MB / 442.6 MB, free: 32.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.2653, allocations: 1.306 MB / 443.9 MB, free: 30.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.2653, allocations: 4 kB / 443.9 MB, free: 30.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001729/0.2671, allocations: 1.25 MB / 445.1 MB, free: 29.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2671, allocations: 13.53 kB / 445.2 MB, free: 29.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.2671, allocations: 19.94 kB / 445.2 MB, free: 29.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000286/0.2674, allocations: 161.4 kB / 445.3 MB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.2686, allocations: 496.6 kB / 445.8 MB, free: 29.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.2706, allocations: 5.328 MB / 451.2 MB, free: 23.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.2712, allocations: 47.98 kB / 451.2 MB, free: 23.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.2714, allocations: 156 kB / 451.4 MB, free: 23.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.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.000638/0.272, allocations: 243.5 kB / 451.6 MB, free: 23.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.2722, allocations: 165.6 kB / 451.8 MB, free: 22.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.2741, allocations: 1.541 MB / 453.3 MB, free: 21.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2741, allocations: 11.94 kB / 453.3 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2741, allocations: 0.75 kB / 453.3 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.2741, allocations: 3.984 kB / 453.3 MB, free: 21.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.2767, allocations: 1.814 MB / 455.1 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.2767, allocations: 4 kB / 455.1 MB, free: 19.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/0.2776, allocations: 266.8 kB / 455.4 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.2779, allocations: 131.5 kB / 455.5 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.2779, allocations: 22.61 kB / 455.5 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.2796, allocations: 5.518 MB / 461.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2796, allocations: 4 kB / 461.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.281, allocations: 0.9404 MB / 462 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.2812, allocations: 95.25 kB / 462.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.2813, allocations: 19.94 kB / 462.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.2815, allocations: 26.64 kB / 462.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2817, allocations: 64.08 kB / 462.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.2817, allocations: 19.98 kB / 462.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004404/0.2821, allocations: 0.6239 MB / 462.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2821, allocations: 0 / 462.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00153/0.2836, allocations: 431.7 kB / 463.3 MB, free: 11.47 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.0005146/0.2842, allocations: 367.6 kB / 463.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.2855, allocations: 1.146 MB / 464.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2855, allocations: 2.656 kB / 464.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.286, allocations: 0.7297 MB / 465.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.2869, allocations: 335.9 kB / 465.8 MB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/0.2911, allocations: 3.338 MB / 469.2 MB, free: 5.672 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2914, allocations: 441.1 kB / 469.6 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008971/0.2923, allocations: 422.4 kB / 470 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/0.2929, allocations: 415.2 kB / 470.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.2929, allocations: 0 / 470.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of Templates: time 0.03458/0.3275, allocations: 25.9 MB / 496.3 MB, free: 11.82 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.007530251983553]