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.001276/0.001276, 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.001458/0.001458, allocations: 212 kB / 22.99 MB, free: 4.98 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.445/1.445, 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.1423/0.1423, allocations: 23.92 MB / 337.1 MB, free: 10.94 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.002055/0.002055, allocations: 60.14 kB / 472.4 MB, free: 6.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3909, allocations: 59.88 MB / 0.5198 GB, free: 9.746 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.07973/0.4707, allocations: 28.43 MB / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01717/0.4878, allocations: 8.169 MB / 0.5555 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.491, allocations: 39.81 kB / 0.5556 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004404/0.4954, allocations: 0.919 MB / 0.5565 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004278/0.4997, allocations: 0.8462 MB / 0.5573 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.5039, allocations: 0.9518 MB / 0.5582 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005266/0.5092, allocations: 1.992 MB / 0.5602 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.5105, allocations: 427.3 kB / 0.5606 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.5128, allocations: 0.8285 MB / 0.5614 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.5159, allocations: 1.086 MB / 0.5625 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009416/0.5168, allocations: 204 kB / 0.5627 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.5213, allocations: 1.094 MB / 0.5637 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.5225, allocations: 0.5925 MB / 0.5643 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.5247, allocations: 0.8606 MB / 0.5651 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008705/0.5334, allocations: 3.838 MB / 0.5689 GB, free: 7.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5334, allocations: 0 / 0.5689 GB, free: 7.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5334, allocations: 3.938 kB / 0.5689 GB, free: 7.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.722e-05/0.5335, allocations: 0 / 0.5689 GB, free: 7.496 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.005069/0.5386, allocations: 2.514 MB / 0.5714 GB, free: 4.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.5386, allocations: 8.031 kB / 0.5714 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.5403, allocations: 0.4989 MB / 0.5718 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.542, allocations: 0.9013 MB / 0.5727 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.5423, allocations: 267.3 kB / 0.573 GB, free: 3.211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.5426, allocations: 204.3 kB / 0.5732 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009086/0.5517, allocations: 6.921 MB / 0.5799 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.5517, allocations: 0 / 0.5799 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.5519, allocations: 79.98 kB / 0.58 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003969/0.5523, allocations: 328.7 kB / 0.5803 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/0.5677, allocations: 12.67 MB / 0.5927 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/0.5863, allocations: 10.07 MB / 0.6025 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.5881, allocations: 0.7981 MB / 0.6033 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009718/0.5891, allocations: 475.7 kB / 0.6038 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007312/0.5964, allocations: 3.398 MB / 0.6071 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.5965, allocations: 39.22 kB / 0.6071 GB, free: 64 kB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.785e-06/0.5965, allocations: 3.938 kB / 0.6071 GB, free: 60 kB / 446.1 MB Notification: Performance of matching and sorting (n=77): time 0.0124/0.6089, allocations: 3.827 MB / 0.6109 GB, free: 12.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.6089, allocations: 64 kB / 0.6109 GB, free: 12.06 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.6104, allocations: 0.9934 MB / 0.6119 GB, free: 11.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.6105, allocations: 37.7 kB / 0.6119 GB, free: 11.01 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.6115, allocations: 1.131 MB / 0.613 GB, free: 9.863 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.6118, allocations: 285.6 kB / 0.6133 GB, free: 9.582 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004835/0.6123, allocations: 310.7 kB / 0.6136 GB, free: 9.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.6125, allocations: 345.9 kB / 0.6139 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.6135, allocations: 454.4 kB / 0.6144 GB, free: 8.484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.6149, allocations: 0.8899 MB / 0.6152 GB, free: 7.379 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/0.627, allocations: 3.122 MB / 0.6183 GB, free: 4.043 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.627, allocations: 8 kB / 0.6183 GB, free: 4.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004443/0.6314, allocations: 1.729 MB / 0.62 GB, free: 2.289 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.6314, allocations: 12 kB / 0.62 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.6315, allocations: 16 kB / 0.62 GB, free: 2.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.6321, allocations: 202.6 kB / 0.6202 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/0.6346, allocations: 463.4 kB / 0.6206 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004706/0.6393, allocations: 4.265 MB / 0.6248 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.6404, allocations: 64.19 kB / 0.6249 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.6406, allocations: 180 kB / 0.625 GB, free: 12.79 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.001222/0.6419, allocations: 0.6066 MB / 0.6256 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.6422, allocations: 119.2 kB / 0.6257 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/0.6467, allocations: 1.879 MB / 0.6276 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.6467, allocations: 8 kB / 0.6276 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6467, allocations: 0 / 0.6276 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.6467, allocations: 3.984 kB / 0.6276 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005283/0.652, allocations: 2.263 MB / 0.6298 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.652, allocations: 0 / 0.6298 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/0.6538, allocations: 227.9 kB / 0.63 GB, free: 7.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/0.6543, allocations: 186.4 kB / 0.6302 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.6544, allocations: 19.98 kB / 0.6302 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004553/0.6589, allocations: 4.372 MB / 0.6345 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6589, allocations: 4.031 kB / 0.6345 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.6626, allocations: 1.399 MB / 0.6359 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.6629, allocations: 95.25 kB / 0.6359 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.6631, allocations: 19.97 kB / 0.636 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/0.6637, allocations: 35.97 kB / 0.636 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.6638, allocations: 52.34 kB / 0.636 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.6639, allocations: 23.98 kB / 0.6361 GB, free: 1.004 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.665, allocations: 0.821 MB / 0.6369 GB, free: 180 kB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.665, allocations: 4 kB / 0.6369 GB, free: 176 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001581/0.6666, allocations: 415.7 kB / 0.6373 GB, free: 15.76 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.0006332/0.6672, allocations: 362.9 kB / 0.6376 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003248/0.6705, allocations: 1.347 MB / 0.6389 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6705, allocations: 0 / 0.6389 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.6721, allocations: 0.7102 MB / 0.6396 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.6736, allocations: 275.9 kB / 0.6399 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006964/0.6805, allocations: 3.734 MB / 0.6435 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.6818, allocations: 1.01 MB / 0.6445 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/0.6826, allocations: 211.3 kB / 0.6447 GB, free: 7.953 MB / 494.1 MB Notification: Performance of SimCode: time 2.004e-06/0.6826, allocations: 0 / 0.6447 GB, free: 7.953 MB / 494.1 MB Notification: Performance of Templates: time 0.06942/0.752, allocations: 55.25 MB / 0.6987 GB, free: 0.6641 MB / 0.5294 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 -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.176216639985796] Failed to read output from testmodel.py, exit status != 0: 0.7622927610063925 0.777606208 0.24063818399999995 Calling exit ...