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.001459/0.001459, 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.001455/0.001455, allocations: 211.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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.133/0.133, allocations: 23.87 MB / 337 MB, free: 11 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.00222/0.00222, allocations: 75.88 kB / 472.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3933, allocations: 59.86 MB / 0.5197 GB, free: 9.824 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.08454/0.4779, allocations: 28.33 MB / 0.5474 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.4933, allocations: 8.157 MB / 0.5554 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.4955, allocations: 23.94 kB / 0.5554 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.4993, allocations: 0.9714 MB / 0.5563 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003317/0.5026, allocations: 0.817 MB / 0.5571 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.506, allocations: 0.9482 MB / 0.5581 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003638/0.5097, allocations: 2.004 MB / 0.56 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.5104, allocations: 427.5 kB / 0.5604 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.5116, allocations: 0.8019 MB / 0.5612 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.5128, allocations: 0.9607 MB / 0.5622 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003309/0.5132, allocations: 223.9 kB / 0.5624 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.5164, allocations: 1.187 MB / 0.5635 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008232/0.5172, allocations: 0.6514 MB / 0.5642 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.5183, allocations: 0.913 MB / 0.5651 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006978/0.5253, allocations: 4.025 MB / 0.569 GB, free: 7.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5253, allocations: 4 kB / 0.569 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5253, allocations: 4 kB / 0.569 GB, free: 7.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.628e-05/0.5253, allocations: 0 / 0.569 GB, free: 7.406 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.004765/0.5301, allocations: 2.561 MB / 0.5715 GB, free: 4.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.5301, allocations: 8.031 kB / 0.5715 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.5321, allocations: 0.5456 MB / 0.572 GB, free: 4.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.5339, allocations: 1.07 MB / 0.5731 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.5343, allocations: 367.2 kB / 0.5734 GB, free: 2.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.5346, allocations: 200.3 kB / 0.5736 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.5447, allocations: 8.339 MB / 0.5818 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.5447, allocations: 0 / 0.5818 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.5449, allocations: 79.98 kB / 0.5818 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004223/0.5453, allocations: 336.7 kB / 0.5822 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01607/0.5614, allocations: 14.42 MB / 0.5962 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02923/0.5906, allocations: 18.71 MB / 0.6145 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005152/0.5958, allocations: 3.435 MB / 0.6179 GB, free: 5.094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003907/0.5997, allocations: 2.807 MB / 0.6206 GB, free: 2.281 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/0.6013, allocations: 0.5752 MB / 0.6212 GB, free: 1.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.6013, allocations: 47.56 kB / 0.6212 GB, free: 1.648 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 4.528e-06/0.6014, allocations: 3.984 kB / 0.6212 GB, free: 1.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04391/0.6453, allocations: 16.62 MB / 0.6374 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01002/0.6553, allocations: 6.441 MB / 0.6437 GB, free: 10.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.6568, allocations: 1.009 MB / 0.6447 GB, free: 9.266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004933/0.6572, allocations: 45.7 kB / 0.6448 GB, free: 9.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008236/0.6581, allocations: 1.008 MB / 0.6458 GB, free: 8.195 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006988/0.6588, allocations: 436.2 kB / 0.6462 GB, free: 7.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009946/0.6598, allocations: 410.8 kB / 0.6466 GB, free: 7.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6599, allocations: 353.9 kB / 0.6469 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004762/0.6647, allocations: 3.438 MB / 0.6503 GB, free: 3.566 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005145/0.6699, allocations: 3.61 MB / 0.6538 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02883/0.6987, allocations: 10.26 MB / 0.6638 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.6987, allocations: 7.938 kB / 0.6638 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01341/0.7121, allocations: 7.427 MB / 0.6711 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.7121, allocations: 11.98 kB / 0.6711 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.7122, allocations: 4 kB / 0.6711 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.7136, allocations: 0.7968 MB / 0.6719 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005274/0.7188, allocations: 0.8155 MB / 0.6726 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/0.7351, allocations: 13.36 MB / 0.6857 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.7367, allocations: 72.28 kB / 0.6858 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004833/0.7372, allocations: 295.9 kB / 0.686 GB, free: 14.2 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.001418/0.7386, allocations: 0.5975 MB / 0.6866 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005374/0.7392, allocations: 119.2 kB / 0.6867 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.7493, allocations: 3.623 MB / 0.6903 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.7493, allocations: 12 kB / 0.6903 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.7493, allocations: 7.984 kB / 0.6903 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.7493, allocations: 7.922 kB / 0.6903 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.763, allocations: 6.173 MB / 0.6963 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.763, allocations: 4 kB / 0.6963 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/0.7658, allocations: 328.2 kB / 0.6967 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/0.768, allocations: 367.9 kB / 0.697 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.7681, allocations: 31.98 kB / 0.697 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/0.7787, allocations: 8.159 MB / 0.705 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006024/0.7847, allocations: 3.656 MB / 0.7086 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007929/0.7926, allocations: 2.586 MB / 0.7111 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007708/0.7934, allocations: 147.2 kB / 0.7112 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000528/0.7939, allocations: 35.89 kB / 0.7113 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/0.7949, allocations: 51.95 kB / 0.7113 GB, free: 3.164 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/0.7953, allocations: 124.7 kB / 0.7114 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.447e-05/0.7953, allocations: 43.97 kB / 0.7115 GB, free: 3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0031/0.7984, allocations: 2.309 MB / 0.7137 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7984, allocations: 0 / 0.7137 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002675/0.8011, allocations: 0.7302 MB / 0.7144 GB, free: 15.95 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.0008318/0.8019, allocations: 402.6 kB / 0.7148 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0074/0.8093, allocations: 4.314 MB / 0.719 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.8094, allocations: 4.125 kB / 0.7191 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0031/0.8125, allocations: 1.344 MB / 0.7204 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.8145, allocations: 339.6 kB / 0.7207 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/0.8226, allocations: 4.236 MB / 0.7248 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.8241, allocations: 1.057 MB / 0.7259 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001701/0.8258, allocations: 401.7 kB / 0.7262 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/0.8267, allocations: 203.3 kB / 0.7264 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/0.8267, allocations: 0 / 0.7264 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of Templates: time 0.3273/1.154, allocations: 60.34 MB / 0.7854 GB, free: 148.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 -s cvode -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.255060372001026] Failed to read output from testmodel.py, exit status != 0: 1.1638616339914734 1.172374081 0.644841231 Calling exit ...