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.0009339/0.0009339, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.000972/0.000972, allocations: 181 kB / 23.36 MB, free: 1.129 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.9736/0.9736, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.09619/0.09619, allocations: 17.47 MB / 277.7 MB, free: 11.41 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.473e-06/1.473e-06, allocations: 0 / 300.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.107e-05, allocations: 6.312 kB / 300.7 MB, free: 1.766 MB / 266.7 MB [/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. [/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. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.02878/0.02879, allocations: 38.44 MB / 339.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.03938, allocations: 10.14 MB / 349.3 MB, free: 3.742 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007417/0.04012, allocations: 55.56 kB / 349.3 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.04194, allocations: 1.079 MB / 350.4 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.0434, allocations: 1.101 MB / 351.5 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.04503, allocations: 1.17 MB / 352.7 MB, free: 324 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.04665, allocations: 2.276 MB / 355 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.04705, allocations: 451.2 kB / 355.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008618/0.04791, allocations: 1.321 MB / 356.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007654/0.04868, allocations: 0.9117 MB / 357.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.04883, allocations: 208 kB / 357.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.05044, allocations: 1.368 MB / 359.2 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.05077, allocations: 0.6658 MB / 359.9 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006853/0.05146, allocations: 0.7363 MB / 360.6 MB, free: 8.312 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.0536, allocations: 3.177 MB / 363.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.05361, allocations: 0 / 363.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.05361, allocations: 0 / 363.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.05362, allocations: 4 kB / 363.8 MB, free: 5.121 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.001957/0.05558, allocations: 2.554 MB / 366.4 MB, free: 2.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.05561, allocations: 8.031 kB / 366.4 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009389/0.05655, allocations: 0.9219 MB / 367.3 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.05768, allocations: 0.898 MB / 368.2 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.05782, allocations: 267.4 kB / 368.4 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.05797, allocations: 204.3 kB / 368.6 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.05985, allocations: 2.444 MB / 371.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.05987, allocations: 192 / 371.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.05996, allocations: 84.11 kB / 371.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.06017, allocations: 336.7 kB / 371.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.06232, allocations: 2.914 MB / 374.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006626/0.06895, allocations: 6.824 MB / 381.2 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.06957, allocations: 434.6 kB / 381.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.06981, allocations: 167.8 kB / 381.8 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003386/0.0732, allocations: 2.635 MB / 384.5 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.07322, allocations: 43.2 kB / 384.5 MB, free: 64 kB / 346.7 MB Notification: Performance of pre-optimization done (n=69): time 1.803e-06/0.07322, allocations: 0 / 384.5 MB, free: 64 kB / 346.7 MB Notification: Performance of matching and sorting (n=76): time 0.004134/0.07736, allocations: 2.149 MB / 386.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.07738, allocations: 64.06 kB / 386.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.07787, allocations: 0.8244 MB / 387.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.523e-05/0.07792, allocations: 37.7 kB / 387.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.0783, allocations: 1.012 MB / 388.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.07845, allocations: 277.6 kB / 388.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005044/0.07895, allocations: 262.7 kB / 389.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.07904, allocations: 349.9 kB / 389.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.07924, allocations: 138.5 kB / 389.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.07964, allocations: 0.6324 MB / 390.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008583/0.0805, allocations: 1.049 MB / 391.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.0805, allocations: 8 kB / 391.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001236/0.08174, allocations: 0.9172 MB / 392.2 MB, free: 7.742 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.08176, allocations: 12 kB / 392.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.08177, allocations: 19.94 kB / 392.2 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.08201, allocations: 147 kB / 392.4 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.0831, allocations: 435.4 kB / 392.8 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.08512, allocations: 3.672 MB / 396.5 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.08547, allocations: 52.17 kB / 396.5 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.08559, allocations: 144 kB / 396.7 MB, free: 3.004 MB / 362.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.0003387/0.08593, allocations: 204.2 kB / 396.9 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.0861, allocations: 103.9 kB / 397 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.08777, allocations: 1.352 MB / 398.3 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.08778, allocations: 8 kB / 398.3 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.08778, allocations: 7.938 kB / 398.3 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.08779, allocations: 3.984 kB / 398.3 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.08939, allocations: 1.302 MB / 399.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.08939, allocations: 11.97 kB / 399.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007753/0.09017, allocations: 247.7 kB / 399.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.09036, allocations: 114.4 kB / 400 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.09039, allocations: 15.98 kB / 400 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.09232, allocations: 3.879 MB / 403.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.09232, allocations: 0 / 403.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000904/0.09322, allocations: 0.7438 MB / 404.6 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.09329, allocations: 99.17 kB / 404.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.09338, allocations: 12.12 kB / 404.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.09361, allocations: 31.98 kB / 404.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.09368, allocations: 56.33 kB / 404.8 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.0937, allocations: 19.98 kB / 404.9 MB, free: 10.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000305/0.09401, allocations: 440.2 kB / 405.3 MB, free: 9.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.09401, allocations: 0 / 405.3 MB, free: 9.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008421/0.09485, allocations: 439.7 kB / 405.7 MB, free: 9.5 MB / 378.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.0003987/0.09525, allocations: 344.4 kB / 406.1 MB, free: 9.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000884/0.09613, allocations: 0.8979 MB / 406.9 MB, free: 8.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.266e-05/0.09615, allocations: 18.56 kB / 407 MB, free: 8.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.09663, allocations: 0.5443 MB / 407.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.09726, allocations: 323.2 kB / 407.8 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.1011, allocations: 3.439 MB / 411.3 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1014, allocations: 445.1 kB / 411.7 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007301/0.1022, allocations: 421.3 kB / 412.1 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/0.1028, allocations: 365.1 kB / 412.5 MB, free: 2.559 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1028, allocations: 0 / 412.5 MB, free: 2.559 MB / 378.7 MB Notification: Performance of Templates: time 0.03226/0.135, allocations: 25.54 MB / 438 MB, free: 9.184 MB / 410.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.5288636670447886]