Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001516/0.001516, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001419/0.001419, allocations: 160.5 kB / 23.01 MB, free: 4.949 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.366/1.366, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1226/0.1226, allocations: 17.37 MB / 277.2 MB, free: 15.28 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Processes.Tests.TestMembrane") translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.001974/0.001974, allocations: 66.88 kB / 412.4 MB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 59.85 MB / 472.3 MB, free: 9.781 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328: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 2.0.0/Boundaries.mo:1328:7-1328: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 2.0.0/Boundaries.mo:1343:7-1343: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 2.0.0/Boundaries.mo:1343:7-1343: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.2705/0.3743, allocations: 28.46 MB / 0.489 GB, free: 38.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008601/0.3829, allocations: 8.172 MB / 0.497 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000557/0.3834, allocations: 25.31 kB / 0.497 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.3856, allocations: 0.9674 MB / 0.4979 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.387, allocations: 0.8201 MB / 0.4987 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.3888, allocations: 0.945 MB / 0.4997 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.3905, allocations: 1.998 MB / 0.5016 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.3911, allocations: 427 kB / 0.502 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007261/0.3918, allocations: 0.7979 MB / 0.5028 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.3926, allocations: 0.8215 MB / 0.5036 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.3928, allocations: 221.3 kB / 0.5038 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.395, allocations: 1.159 MB / 0.5049 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.3954, allocations: 0.6559 MB / 0.5056 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000625/0.396, allocations: 0.9033 MB / 0.5065 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003363/0.3994, allocations: 4.031 MB / 0.5104 GB, free: 29.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3994, allocations: 4 kB / 0.5104 GB, free: 29.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3994, allocations: 0 / 0.5104 GB, free: 29.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.151e-05/0.3994, allocations: 1.438 kB / 0.5104 GB, free: 29.17 MB / 446.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.003186/0.4026, allocations: 2.578 MB / 0.5129 GB, free: 27.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.4026, allocations: 8.312 kB / 0.5129 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.4043, allocations: 0.5305 MB / 0.5135 GB, free: 27.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.4056, allocations: 1.068 MB / 0.5145 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.4058, allocations: 372.1 kB / 0.5149 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/0.4061, allocations: 193.5 kB / 0.515 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007464/0.4135, allocations: 8.333 MB / 0.5232 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.4136, allocations: 0 / 0.5232 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.4137, allocations: 80.23 kB / 0.5233 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003056/0.414, allocations: 349.4 kB / 0.5236 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.4242, allocations: 14.41 MB / 0.5377 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0255/0.4497, allocations: 18.71 MB / 0.5559 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/0.4552, allocations: 3.443 MB / 0.5593 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004035/0.4593, allocations: 2.806 MB / 0.562 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001634/0.4609, allocations: 0.5762 MB / 0.5626 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.4609, allocations: 47.5 kB / 0.5626 GB, free: 5.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 2.905e-06/0.4609, allocations: 0 / 0.5626 GB, free: 5.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04302/0.5039, allocations: 16.63 MB / 0.5789 GB, free: 6.695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0096/0.5135, allocations: 6.429 MB / 0.5852 GB, free: 12 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.5151, allocations: 1.013 MB / 0.5861 GB, free: 14.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004081/0.5155, allocations: 49.64 kB / 0.5862 GB, free: 14.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007992/0.5163, allocations: 1.008 MB / 0.5872 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007509/0.5171, allocations: 432.2 kB / 0.5876 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/0.5183, allocations: 414.7 kB / 0.588 GB, free: 13.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5185, allocations: 345.9 kB / 0.5883 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004872/0.5234, allocations: 3.434 MB / 0.5917 GB, free: 9.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/0.5284, allocations: 3.621 MB / 0.5952 GB, free: 5.617 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02739/0.5558, allocations: 10.28 MB / 0.6052 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.5558, allocations: 3.938 kB / 0.6052 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01346/0.5693, allocations: 7.423 MB / 0.6125 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.5693, allocations: 8 kB / 0.6125 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.5693, allocations: 4 kB / 0.6125 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.5707, allocations: 0.8086 MB / 0.6133 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005058/0.5758, allocations: 0.8116 MB / 0.6141 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/0.592, allocations: 13.36 MB / 0.6271 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.5937, allocations: 64.17 kB / 0.6272 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007158/0.5944, allocations: 299.8 kB / 0.6275 GB, free: 3.91 MB / 0.5137 GB 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: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001812/0.5962, allocations: 0.5912 MB / 0.6281 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007264/0.5969, allocations: 119.2 kB / 0.6282 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009556/0.6065, allocations: 3.639 MB / 0.6317 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.6065, allocations: 8 kB / 0.6317 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.6065, allocations: 4 kB / 0.6317 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.6065, allocations: 3.984 kB / 0.6317 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.6187, allocations: 6.177 MB / 0.6378 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.6187, allocations: 4 kB / 0.6378 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/0.6214, allocations: 332.3 kB / 0.6381 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.6233, allocations: 367.9 kB / 0.6384 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.13e-05/0.6234, allocations: 35.98 kB / 0.6385 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009826/0.6333, allocations: 8.159 MB / 0.6464 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005511/0.6388, allocations: 3.648 MB / 0.65 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006837/0.6456, allocations: 2.582 MB / 0.6525 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.6461, allocations: 147.2 kB / 0.6527 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.6464, allocations: 35.88 kB / 0.6527 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/0.6472, allocations: 55.95 kB / 0.6528 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.6475, allocations: 117 kB / 0.6529 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/0.6476, allocations: 51.91 kB / 0.6529 GB, free: 8.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002997/0.6506, allocations: 2.309 MB / 0.6552 GB, free: 6.391 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6506, allocations: 0 / 0.6552 GB, free: 6.391 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002404/0.653, allocations: 0.734 MB / 0.6559 GB, free: 5.656 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 3 ($STATESET2.x,$STATESET1.x,d1.rear.n_flow) * Number of discrete variables: 2 ($cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 2 systems {(3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007126/0.6537, allocations: 395.6 kB / 0.6563 GB, free: 5.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006971/0.6607, allocations: 4.322 MB / 0.6605 GB, free: 0.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.6607, allocations: 4.062 kB / 0.6605 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002857/0.6636, allocations: 1.34 MB / 0.6618 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.6654, allocations: 328.9 kB / 0.6621 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007019/0.6724, allocations: 4.236 MB / 0.6663 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.6738, allocations: 1.068 MB / 0.6673 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00135/0.6751, allocations: 409.6 kB / 0.6677 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007325/0.6759, allocations: 196.4 kB / 0.6679 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.6759, allocations: 0 / 0.6679 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of Templates: time 0.2643/0.9402, allocations: 57.75 MB / 0.7243 GB, free: 175.1 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Processes.Tests.TestMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_Chemical.Processes.Tests.TestMembrane.sim & ./Chemical_Chemical.Processes.Tests.TestMembrane -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.664308469044045] Failed to read output from testmodel.py, exit status != 0: 0.9484156050020829 0.961644613 0.558931791 Calling exit ...