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.001265/0.001265, 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.001446/0.001446, allocations: 162.4 kB / 23.02 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.369/1.369, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 179] 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.1249/0.1249, allocations: 17.45 MB / 277.2 MB, free: 15.2 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.002069/0.002069, allocations: 71.89 kB / 412.6 MB, free: 5.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1117, allocations: 59.87 MB / 472.4 MB, free: 9.602 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1343:7-1343: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:1343:7-1343: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:1361:7-1361: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:1361:7-1361: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.269/0.3808, allocations: 28.59 MB / 0.4893 GB, free: 38.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3928, allocations: 8.432 MB / 0.4975 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.3952, allocations: 38 kB / 0.4976 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.3982, allocations: 0.9097 MB / 0.4984 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.4004, allocations: 0.8622 MB / 0.4993 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.4029, allocations: 1.007 MB / 0.5003 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002247/0.4052, allocations: 2.023 MB / 0.5022 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005487/0.4057, allocations: 419.9 kB / 0.5026 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009279/0.4067, allocations: 0.8384 MB / 0.5035 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.4078, allocations: 0.9821 MB / 0.5044 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.408, allocations: 208.7 kB / 0.5046 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.4107, allocations: 1.128 MB / 0.5057 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.4111, allocations: 0.5884 MB / 0.5063 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006648/0.4117, allocations: 0.8707 MB / 0.5072 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.4158, allocations: 3.912 MB / 0.511 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4158, allocations: 0 / 0.511 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4158, allocations: 0 / 0.511 GB, free: 29.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.277e-05/0.4158, allocations: 1.438 kB / 0.511 GB, free: 29.05 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.003358/0.4192, allocations: 2.541 MB / 0.5135 GB, free: 27.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.4192, allocations: 9.031 kB / 0.5135 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.4207, allocations: 496.4 kB / 0.5139 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.4219, allocations: 0.9159 MB / 0.5148 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.4221, allocations: 273.3 kB / 0.5151 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.4223, allocations: 202.5 kB / 0.5153 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006937/0.4292, allocations: 7.421 MB / 0.5225 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.4293, allocations: 0 / 0.5225 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.4294, allocations: 88.41 kB / 0.5226 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002998/0.4297, allocations: 334.5 kB / 0.5229 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009664/0.4394, allocations: 13.39 MB / 0.536 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.4513, allocations: 10.43 MB / 0.5462 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.4527, allocations: 0.7757 MB / 0.547 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/0.4534, allocations: 476.5 kB / 0.5474 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005569/0.459, allocations: 3.534 MB / 0.5509 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.459, allocations: 43.16 kB / 0.5509 GB, free: 240 kB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.124e-06/0.459, allocations: 0 / 0.5509 GB, free: 240 kB / 446.1 MB Notification: Performance of matching and sorting (n=76): time 0.01136/0.4704, allocations: 3.737 MB / 0.5546 GB, free: 12.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.4705, allocations: 60.81 kB / 0.5546 GB, free: 12.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.4718, allocations: 1.011 MB / 0.5556 GB, free: 11.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.4719, allocations: 41.7 kB / 0.5556 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008718/0.4727, allocations: 1.164 MB / 0.5568 GB, free: 10.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.473, allocations: 287 kB / 0.557 GB, free: 10.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004569/0.4735, allocations: 318.5 kB / 0.5574 GB, free: 10.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4736, allocations: 352.1 kB / 0.5577 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000949/0.4746, allocations: 439.3 kB / 0.5581 GB, free: 9.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.476, allocations: 0.9192 MB / 0.559 GB, free: 8.406 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01809/0.494, allocations: 4.214 MB / 0.5631 GB, free: 4.754 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.4941, allocations: 4 kB / 0.5631 GB, free: 4.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004254/0.4983, allocations: 1.73 MB / 0.5648 GB, free: 3.191 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.4983, allocations: 12.66 kB / 0.5648 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.4984, allocations: 20.84 kB / 0.5648 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.4989, allocations: 199.2 kB / 0.565 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.5017, allocations: 0.5544 MB / 0.5656 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/0.5062, allocations: 4.246 MB / 0.5697 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.5072, allocations: 63.69 kB / 0.5698 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.5075, allocations: 187.4 kB / 0.57 GB, free: 13.87 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: 74 * 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 (139): * Single equations (assignments): 136 * 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.001254/0.5087, allocations: 0.6158 MB / 0.5706 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.509, allocations: 119.2 kB / 0.5707 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004839/0.5139, allocations: 1.857 MB / 0.5725 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5139, allocations: 11.98 kB / 0.5725 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.5139, allocations: 4.516 kB / 0.5725 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.5139, allocations: 2.953 kB / 0.5725 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005217/0.5191, allocations: 2.222 MB / 0.5747 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5191, allocations: 4 kB / 0.5747 GB, free: 9.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/0.5214, allocations: 320.4 kB / 0.575 GB, free: 9.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004783/0.5219, allocations: 173.7 kB / 0.5752 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.5219, allocations: 24.41 kB / 0.5752 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004835/0.5268, allocations: 4.355 MB / 0.5794 GB, free: 4.609 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5268, allocations: 4.031 kB / 0.5794 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004117/0.5309, allocations: 1.414 MB / 0.5808 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.5312, allocations: 103.2 kB / 0.5809 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.5314, allocations: 16 kB / 0.5809 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.532, allocations: 39.97 kB / 0.581 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.5321, allocations: 52.53 kB / 0.581 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.5322, allocations: 31.92 kB / 0.581 GB, free: 2.914 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.5335, allocations: 0.8179 MB / 0.5818 GB, free: 2.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5335, allocations: 4 kB / 0.5819 GB, free: 2.086 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001816/0.5353, allocations: 419.7 kB / 0.5823 GB, free: 1.676 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (61): * Single equations (assignments): 58 * 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,4,100.0%), (1,1,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.0007003/0.536, allocations: 367.2 kB / 0.5826 GB, free: 1.309 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003272/0.5393, allocations: 1.366 MB / 0.5839 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5393, allocations: 0.5 kB / 0.5839 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.541, allocations: 0.706 MB / 0.5846 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5423, allocations: 283.8 kB / 0.5849 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/0.5492, allocations: 3.634 MB / 0.5884 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.5505, allocations: 1.011 MB / 0.5894 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001444/0.552, allocations: 459.6 kB / 0.5899 GB, free: 9.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/0.5525, allocations: 172.4 kB / 0.59 GB, free: 9.531 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5525, allocations: 0 / 0.59 GB, free: 9.531 MB / 494.1 MB Notification: Performance of Templates: time 0.04026/0.5928, allocations: 22.84 MB / 0.6123 GB, free: 2.918 MB / 0.4981 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 ida -lv LOG_STATS > Chemical_master_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.575287101091817] Failed to read output from testmodel.py, exit status != 0: 0.6014041340677068 0.6149803549999999 0.196226001 Calling exit ...