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.001247/0.001247, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001748/0.001748, allocations: 213.5 kB / 22.99 MB, free: 4.984 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1531/0.1531, allocations: 23.93 MB / 337.1 MB, free: 10.93 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.001988/0.001988, allocations: 67.89 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3882, allocations: 59.87 MB / 0.5198 GB, free: 9.766 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.07963/0.4679, allocations: 28.34 MB / 0.5475 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.4851, allocations: 8.173 MB / 0.5555 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.4875, allocations: 31.81 kB / 0.5555 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003403/0.4909, allocations: 0.9186 MB / 0.5564 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.4944, allocations: 0.8508 MB / 0.5572 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.4976, allocations: 0.9473 MB / 0.5582 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003529/0.5011, allocations: 1.987 MB / 0.5601 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007204/0.5019, allocations: 427.5 kB / 0.5605 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.5031, allocations: 0.8279 MB / 0.5613 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.5046, allocations: 1.091 MB / 0.5624 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.5049, allocations: 204 kB / 0.5626 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.508, allocations: 1.105 MB / 0.5636 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.5086, allocations: 0.5829 MB / 0.5642 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000904/0.5095, allocations: 0.8586 MB / 0.5651 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006244/0.5157, allocations: 3.834 MB / 0.5688 GB, free: 7.586 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5157, allocations: 0 / 0.5688 GB, free: 7.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5157, allocations: 0 / 0.5688 GB, free: 7.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.951e-05/0.5158, allocations: 0 / 0.5688 GB, free: 7.586 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.004438/0.5202, allocations: 2.514 MB / 0.5713 GB, free: 5.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5202, allocations: 8.031 kB / 0.5713 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.522, allocations: 0.4989 MB / 0.5718 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5235, allocations: 0.9013 MB / 0.5726 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.5238, allocations: 275.3 kB / 0.5729 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/0.5241, allocations: 204.3 kB / 0.5731 GB, free: 3.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00872/0.5328, allocations: 6.921 MB / 0.5798 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/0.5328, allocations: 0 / 0.5798 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.533, allocations: 83.98 kB / 0.5799 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003667/0.5333, allocations: 328.7 kB / 0.5802 GB, free: 11.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.5481, allocations: 12.67 MB / 0.5926 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01961/0.5677, allocations: 10.07 MB / 0.6024 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.5695, allocations: 0.795 MB / 0.6032 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009832/0.5705, allocations: 475.6 kB / 0.6037 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007255/0.5778, allocations: 3.398 MB / 0.607 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.5778, allocations: 43.22 kB / 0.607 GB, free: 140 kB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.735e-06/0.5778, allocations: 0 / 0.607 GB, free: 140 kB / 446.1 MB Notification: Performance of matching and sorting (n=77): time 0.01314/0.591, allocations: 3.827 MB / 0.6108 GB, free: 12.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.591, allocations: 64.06 kB / 0.6108 GB, free: 12.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.5924, allocations: 0.9857 MB / 0.6118 GB, free: 11.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.56e-05/0.5925, allocations: 37.7 kB / 0.6118 GB, free: 11.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008912/0.5934, allocations: 1.143 MB / 0.6129 GB, free: 9.938 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.5937, allocations: 281.6 kB / 0.6132 GB, free: 9.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000474/0.5941, allocations: 306.8 kB / 0.6135 GB, free: 9.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.5943, allocations: 353.9 kB / 0.6138 GB, free: 9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009643/0.5953, allocations: 450.4 kB / 0.6143 GB, free: 8.562 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.5966, allocations: 0.886 MB / 0.6151 GB, free: 7.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/0.6089, allocations: 3.126 MB / 0.6182 GB, free: 4.121 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-06/0.6089, allocations: 4 kB / 0.6182 GB, free: 4.117 MB / 462.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004433/0.6133, allocations: 1.729 MB / 0.6199 GB, free: 2.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.6133, allocations: 12 kB / 0.6199 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.6133, allocations: 16 kB / 0.6199 GB, free: 2.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.6139, allocations: 198.9 kB / 0.6201 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.6162, allocations: 463.4 kB / 0.6205 GB, free: 1.688 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/0.6208, allocations: 4.273 MB / 0.6247 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.6219, allocations: 59.97 kB / 0.6248 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/0.6222, allocations: 180 kB / 0.6249 GB, free: 12.88 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.00131/0.6235, allocations: 0.6104 MB / 0.6255 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/0.6238, allocations: 119.2 kB / 0.6257 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004735/0.6285, allocations: 1.875 MB / 0.6275 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6285, allocations: 11.94 kB / 0.6275 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6285, allocations: 7.984 kB / 0.6275 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.6285, allocations: 3.984 kB / 0.6275 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007004/0.6356, allocations: 2.256 MB / 0.6297 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.6356, allocations: 0 / 0.6297 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/0.638, allocations: 227.9 kB / 0.6299 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006729/0.6387, allocations: 186.4 kB / 0.6301 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.6387, allocations: 19.98 kB / 0.6301 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/0.6448, allocations: 4.376 MB / 0.6344 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.6448, allocations: 4.031 kB / 0.6344 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005257/0.6501, allocations: 1.399 MB / 0.6358 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.6504, allocations: 91.38 kB / 0.6359 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.6507, allocations: 24.03 kB / 0.6359 GB, free: 1.191 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/0.6515, allocations: 31.97 kB / 0.6359 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.6517, allocations: 56.34 kB / 0.636 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.301e-05/0.6518, allocations: 28.12 kB / 0.636 GB, free: 1.074 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.6535, allocations: 0.8171 MB / 0.6368 GB, free: 256 kB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6535, allocations: 0 / 0.6368 GB, free: 256 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002387/0.6559, allocations: 419.7 kB / 0.6372 GB, free: 15.84 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.000852/0.6567, allocations: 354.8 kB / 0.6375 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004923/0.6617, allocations: 1.343 MB / 0.6388 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.6617, allocations: 0 / 0.6388 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.6642, allocations: 0.714 MB / 0.6395 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.6662, allocations: 287.6 kB / 0.6398 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/0.6758, allocations: 3.587 MB / 0.6433 GB, free: 9.434 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.6778, allocations: 1.002 MB / 0.6443 GB, free: 8.391 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002228/0.68, allocations: 455.5 kB / 0.6447 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000776/0.6808, allocations: 171.3 kB / 0.6449 GB, free: 7.773 MB / 494.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6808, allocations: 0 / 0.6449 GB, free: 7.773 MB / 494.1 MB Notification: Performance of Templates: time 0.04838/0.7292, allocations: 25.69 MB / 0.67 GB, free: 14.32 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 cvode -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.187148174009053] Failed to read output from testmodel.py, exit status != 0: 0.7394632889918284 0.766463162 0.24564177699999995 Calling exit ...