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.001511/0.001511, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001742/0.001742, allocations: 206.7 kB / 22.99 MB, free: 4.957 MB / 14.72 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 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.1294/0.1294, allocations: 23.93 MB / 337.1 MB, free: 10.91 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2675, allocations: 59.87 MB / 0.5198 GB, free: 9.773 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1336:7-1336: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:1336:7-1336: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:1350:7-1350: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:1350:7-1350: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.06802/0.3355, allocations: 28.34 MB / 0.5475 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.3486, allocations: 8.176 MB / 0.5555 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.3497, allocations: 39.75 kB / 0.5555 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.3523, allocations: 0.9194 MB / 0.5564 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.3543, allocations: 0.8392 MB / 0.5572 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002254/0.3565, allocations: 0.9552 MB / 0.5582 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.3589, allocations: 1.98 MB / 0.5601 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.3595, allocations: 423.7 kB / 0.5605 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009041/0.3604, allocations: 0.8312 MB / 0.5613 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.3618, allocations: 1.087 MB / 0.5624 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.3621, allocations: 208 kB / 0.5626 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.3643, allocations: 1.101 MB / 0.5636 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005256/0.3649, allocations: 0.5847 MB / 0.5642 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008487/0.3657, allocations: 0.853 MB / 0.565 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004332/0.37, allocations: 3.846 MB / 0.5688 GB, free: 7.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3701, allocations: 0 / 0.5688 GB, free: 7.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3701, allocations: 0 / 0.5688 GB, free: 7.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.3701, allocations: 0 / 0.5688 GB, free: 7.562 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.00388/0.374, allocations: 2.51 MB / 0.5713 GB, free: 5.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.374, allocations: 16.02 kB / 0.5713 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.3756, allocations: 0.4911 MB / 0.5717 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.377, allocations: 0.9052 MB / 0.5726 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.3772, allocations: 267.3 kB / 0.5729 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.3775, allocations: 200.3 kB / 0.5731 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007839/0.3854, allocations: 6.925 MB / 0.5798 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-05/0.3854, allocations: 0 / 0.5798 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.3856, allocations: 83.98 kB / 0.5799 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003589/0.3859, allocations: 336.6 kB / 0.5802 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.3992, allocations: 12.66 MB / 0.5926 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.4142, allocations: 10.07 MB / 0.6024 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.4159, allocations: 0.7922 MB / 0.6032 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009959/0.4169, allocations: 467.7 kB / 0.6037 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006851/0.4238, allocations: 3.405 MB / 0.607 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4238, allocations: 43.22 kB / 0.607 GB, free: 120 kB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.755e-06/0.4238, allocations: 0 / 0.607 GB, free: 120 kB / 446.1 MB Notification: Performance of matching and sorting (n=77): time 0.01284/0.4367, allocations: 3.835 MB / 0.6108 GB, free: 12.19 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.4367, allocations: 60.06 kB / 0.6108 GB, free: 12.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4379, allocations: 0.9896 MB / 0.6118 GB, free: 11.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.1e-05/0.438, allocations: 33.7 kB / 0.6118 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007988/0.4388, allocations: 1.143 MB / 0.6129 GB, free: 9.914 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/0.4391, allocations: 285.6 kB / 0.6132 GB, free: 9.633 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004627/0.4396, allocations: 302.8 kB / 0.6135 GB, free: 9.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4397, allocations: 357.9 kB / 0.6138 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009799/0.4407, allocations: 442.4 kB / 0.6143 GB, free: 8.543 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.4421, allocations: 0.89 MB / 0.6151 GB, free: 7.438 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/0.4548, allocations: 3.118 MB / 0.6182 GB, free: 4.105 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.4548, allocations: 4 kB / 0.6182 GB, free: 4.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004364/0.4592, allocations: 1.729 MB / 0.6199 GB, free: 2.355 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.4592, allocations: 15.94 kB / 0.6199 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.4593, allocations: 16 kB / 0.6199 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.4598, allocations: 202.8 kB / 0.6201 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/0.4623, allocations: 467.4 kB / 0.6205 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/0.4669, allocations: 4.273 MB / 0.6247 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008475/0.4677, allocations: 59.97 kB / 0.6248 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002498/0.468, allocations: 180 kB / 0.6249 GB, free: 12.85 MB / 478.1 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: 69 * 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 (135): * Single equations (assignments): 132 * 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.001006/0.469, allocations: 0.6105 MB / 0.6255 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.4693, allocations: 119.2 kB / 0.6257 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004791/0.4741, allocations: 1.871 MB / 0.6275 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4741, allocations: 4 kB / 0.6275 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4741, allocations: 8 kB / 0.6275 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4741, allocations: 3.984 kB / 0.6275 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.4792, allocations: 2.26 MB / 0.6297 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4792, allocations: 4 kB / 0.6297 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.4809, allocations: 227.9 kB / 0.6299 GB, free: 7.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.4814, allocations: 190.4 kB / 0.6301 GB, free: 7.426 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.4814, allocations: 19.98 kB / 0.6301 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/0.4861, allocations: 4.376 MB / 0.6344 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4861, allocations: 0 / 0.6344 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/0.4898, allocations: 1.399 MB / 0.6358 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.49, allocations: 91.25 kB / 0.6359 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.4902, allocations: 20.03 kB / 0.6359 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.4908, allocations: 35.97 kB / 0.6359 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4909, allocations: 52.53 kB / 0.636 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.491, allocations: 27.98 kB / 0.636 GB, free: 1.055 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.4921, allocations: 0.821 MB / 0.6368 GB, free: 232 kB / 478.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4921, allocations: 0 / 0.6368 GB, free: 232 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001471/0.4935, allocations: 419.7 kB / 0.6372 GB, free: 15.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (62): * Single equations (assignments): 59 * 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 Backend phase and start with SimCode phase: time 0.000607/0.4941, allocations: 357.5 kB / 0.6375 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003055/0.4972, allocations: 1.343 MB / 0.6388 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4972, allocations: 0 / 0.6388 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.4989, allocations: 0.7179 MB / 0.6395 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.5002, allocations: 278 kB / 0.6398 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/0.5062, allocations: 3.584 MB / 0.6433 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.5074, allocations: 1.01 MB / 0.6443 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001324/0.5088, allocations: 455.5 kB / 0.6447 GB, free: 7.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/0.5093, allocations: 163.3 kB / 0.6449 GB, free: 7.758 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5093, allocations: 0 / 0.6449 GB, free: 7.758 MB / 494.1 MB Notification: Performance of Templates: time 0.03995/0.5492, allocations: 25.69 MB / 0.67 GB, free: 14.3 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.502670151996426] Failed to read output from testmodel.py, exit status != 0: 0.5579153699945891 0.571318498 0.198341929 Calling exit ...