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.001707/0.001707, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001563/0.001563, allocations: 221.8 kB / 23 MB, free: 4.914 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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.1479/0.1479, allocations: 23.89 MB / 337.1 MB, free: 10.99 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.002116/0.002116, allocations: 63.89 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 59.86 MB / 0.5197 GB, free: 9.77 MB / 382.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.07898/0.4298, allocations: 28.5 MB / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01495/0.4448, allocations: 8.161 MB / 0.5555 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.4468, allocations: 27.88 kB / 0.5556 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003853/0.4506, allocations: 0.9675 MB / 0.5565 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.4542, allocations: 0.8092 MB / 0.5573 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.4578, allocations: 0.9519 MB / 0.5582 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004225/0.462, allocations: 2.007 MB / 0.5602 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000814/0.4628, allocations: 423.3 kB / 0.5606 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.4642, allocations: 0.8054 MB / 0.5614 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.4655, allocations: 0.8163 MB / 0.5622 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003091/0.4658, allocations: 220 kB / 0.5624 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00374/0.4696, allocations: 1.156 MB / 0.5635 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007467/0.4703, allocations: 0.6592 MB / 0.5642 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.4714, allocations: 0.9109 MB / 0.5651 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006904/0.4783, allocations: 4.029 MB / 0.569 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.4783, allocations: 4 kB / 0.569 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4783, allocations: 0 / 0.569 GB, free: 7.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.604e-05/0.4783, allocations: 0 / 0.569 GB, free: 7.426 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.004582/0.4829, allocations: 2.565 MB / 0.5715 GB, free: 4.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.483, allocations: 11.97 kB / 0.5715 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.4849, allocations: 0.5417 MB / 0.572 GB, free: 4.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.4868, allocations: 1.071 MB / 0.5731 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/0.4872, allocations: 371.2 kB / 0.5734 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.4875, allocations: 192.4 kB / 0.5736 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.4978, allocations: 8.331 MB / 0.5818 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.4978, allocations: 0 / 0.5818 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.498, allocations: 83.97 kB / 0.5818 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003861/0.4984, allocations: 344.7 kB / 0.5822 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.515, allocations: 14.42 MB / 0.5962 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/0.5453, allocations: 18.71 MB / 0.6145 GB, free: 8.555 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005334/0.5507, allocations: 3.45 MB / 0.6179 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00404/0.5547, allocations: 2.795 MB / 0.6206 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.5563, allocations: 0.5791 MB / 0.6212 GB, free: 1.723 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.5563, allocations: 43.56 kB / 0.6212 GB, free: 1.672 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.527e-06/0.5563, allocations: 0 / 0.6212 GB, free: 1.672 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04368/0.6, allocations: 16.63 MB / 0.6375 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0102/0.6102, allocations: 6.43 MB / 0.6437 GB, free: 10.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.6118, allocations: 1.017 MB / 0.6447 GB, free: 9.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004552/0.6122, allocations: 45.7 kB / 0.6448 GB, free: 9.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/0.6131, allocations: 1.004 MB / 0.6457 GB, free: 8.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006514/0.6137, allocations: 436.2 kB / 0.6462 GB, free: 7.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009465/0.6147, allocations: 410.7 kB / 0.6466 GB, free: 7.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6149, allocations: 349.9 kB / 0.6469 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004983/0.6198, allocations: 3.438 MB / 0.6502 GB, free: 3.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005217/0.6251, allocations: 3.618 MB / 0.6538 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02751/0.6526, allocations: 10.26 MB / 0.6638 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.6526, allocations: 3.938 kB / 0.6638 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01385/0.6664, allocations: 7.435 MB / 0.6711 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.6665, allocations: 10.5 kB / 0.6711 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.6665, allocations: 4 kB / 0.6711 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.668, allocations: 0.8007 MB / 0.6719 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/0.6732, allocations: 0.8116 MB / 0.6727 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.69, allocations: 13.36 MB / 0.6857 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.6916, allocations: 63.89 kB / 0.6858 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004933/0.692, allocations: 295.9 kB / 0.686 GB, free: 14.22 MB / 0.5294 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.001434/0.6935, allocations: 0.5952 MB / 0.6866 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.694, allocations: 119.2 kB / 0.6867 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009495/0.7035, allocations: 3.631 MB / 0.6903 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.7035, allocations: 12 kB / 0.6903 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7035, allocations: 3.938 kB / 0.6903 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.7035, allocations: 3.984 kB / 0.6903 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.7167, allocations: 6.18 MB / 0.6963 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.7167, allocations: 4.719 kB / 0.6963 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/0.7195, allocations: 331.6 kB / 0.6967 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.7214, allocations: 363.9 kB / 0.697 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.7215, allocations: 39.98 kB / 0.697 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.7323, allocations: 8.164 MB / 0.705 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005813/0.7381, allocations: 3.648 MB / 0.7086 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007128/0.7453, allocations: 2.578 MB / 0.7111 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/0.7458, allocations: 143.2 kB / 0.7112 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.7461, allocations: 39.88 kB / 0.7113 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008703/0.747, allocations: 55.95 kB / 0.7113 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/0.7473, allocations: 124.6 kB / 0.7114 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/0.7474, allocations: 39.98 kB / 0.7115 GB, free: 3.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003114/0.7505, allocations: 2.309 MB / 0.7137 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.7505, allocations: 0 / 0.7137 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002571/0.753, allocations: 0.7263 MB / 0.7144 GB, free: 15.96 MB / 0.5606 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.0007939/0.7538, allocations: 398.6 kB / 0.7148 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007177/0.761, allocations: 4.321 MB / 0.719 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.761, allocations: 4 kB / 0.7191 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002878/0.7639, allocations: 1.352 MB / 0.7204 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.7659, allocations: 329.6 kB / 0.7207 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00768/0.7736, allocations: 4.378 MB / 0.725 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.7752, allocations: 1.068 MB / 0.726 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/0.7765, allocations: 207.3 kB / 0.7262 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.7765, allocations: 0 / 0.7262 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of Templates: time 0.3388/1.115, allocations: 89.23 MB / 0.8133 GB, free: 117.1 MB / 0.5606 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 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.216886442154646] Failed to read output from testmodel.py, exit status != 0: 1.1243056086823344 1.132721624 0.652233033 Calling exit ...