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.001264/0.001264, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001406/0.001406, allocations: 214.2 kB / 22.25 MB, free: 4.848 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.797 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.1396/0.1396, allocations: 23.99 MB / 336.4 MB, free: 10.93 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.002086/0.002086, allocations: 75.91 kB / 471.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3509, allocations: 59.89 MB / 0.5192 GB, free: 9.75 MB / 382.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.07263/0.4235, allocations: 28.62 MB / 0.5472 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.4381, allocations: 8.433 MB / 0.5554 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.4398, allocations: 39.81 kB / 0.5554 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.4429, allocations: 0.9199 MB / 0.5563 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.4459, allocations: 0.8599 MB / 0.5572 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.4491, allocations: 1.007 MB / 0.5581 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003428/0.4526, allocations: 2.016 MB / 0.5601 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007919/0.4534, allocations: 420 kB / 0.5605 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.4548, allocations: 0.8362 MB / 0.5613 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.4569, allocations: 0.9844 MB / 0.5623 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.4572, allocations: 212 kB / 0.5625 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.4605, allocations: 1.127 MB / 0.5636 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.4612, allocations: 0.5932 MB / 0.5642 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.4623, allocations: 0.8702 MB / 0.565 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006192/0.4685, allocations: 3.904 MB / 0.5688 GB, free: 6.781 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4685, allocations: 0 / 0.5688 GB, free: 6.781 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4685, allocations: 3.938 kB / 0.5688 GB, free: 6.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.831e-05/0.4685, allocations: 4 kB / 0.5688 GB, free: 6.773 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.004532/0.473, allocations: 2.544 MB / 0.5713 GB, free: 4.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4731, allocations: 8.031 kB / 0.5713 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.4747, allocations: 0.4911 MB / 0.5718 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.4762, allocations: 0.9168 MB / 0.5727 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002916/0.4765, allocations: 275.4 kB / 0.573 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.4768, allocations: 200.3 kB / 0.5732 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009253/0.486, allocations: 7.416 MB / 0.5804 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.4861, allocations: 7.938 kB / 0.5804 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.4862, allocations: 83.97 kB / 0.5805 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003607/0.4866, allocations: 328.7 kB / 0.5808 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01513/0.5017, allocations: 13.39 MB / 0.5939 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01656/0.5183, allocations: 10.43 MB / 0.6041 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.52, allocations: 0.7765 MB / 0.6048 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.521, allocations: 483.6 kB / 0.6053 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007382/0.5283, allocations: 3.523 MB / 0.6087 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.5284, allocations: 47.16 kB / 0.6088 GB, free: 13.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.975e-06/0.5284, allocations: 0 / 0.6088 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.01121/0.5396, allocations: 3.735 MB / 0.6124 GB, free: 9.711 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.5397, allocations: 60.06 kB / 0.6125 GB, free: 9.641 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.5411, allocations: 1.014 MB / 0.6135 GB, free: 8.609 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.58e-05/0.5411, allocations: 37.64 kB / 0.6135 GB, free: 8.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009107/0.542, allocations: 1.162 MB / 0.6146 GB, free: 7.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.5423, allocations: 293.5 kB / 0.6149 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00046/0.5428, allocations: 314.7 kB / 0.6152 GB, free: 6.789 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.543, allocations: 345.9 kB / 0.6156 GB, free: 6.445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009487/0.5439, allocations: 446.4 kB / 0.616 GB, free: 6.008 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.5453, allocations: 0.9137 MB / 0.6169 GB, free: 4.871 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01767/0.563, allocations: 4.196 MB / 0.621 GB, free: 452 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.563, allocations: 4 kB / 0.621 GB, free: 448 kB / 462.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004304/0.5673, allocations: 1.741 MB / 0.6227 GB, free: 14.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.5673, allocations: 16 kB / 0.6227 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.5673, allocations: 16.09 kB / 0.6227 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/0.5678, allocations: 202.4 kB / 0.6229 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.5706, allocations: 0.5579 MB / 0.6234 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.575, allocations: 4.258 MB / 0.6276 GB, free: 9.316 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/0.5759, allocations: 63.97 kB / 0.6277 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.5762, allocations: 187.9 kB / 0.6278 GB, free: 9.07 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.001119/0.5773, allocations: 0.6068 MB / 0.6284 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.5776, allocations: 123.2 kB / 0.6286 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/0.582, allocations: 1.852 MB / 0.6304 GB, free: 6.426 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.582, allocations: 11.94 kB / 0.6304 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.582, allocations: 4 kB / 0.6304 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.582, allocations: 0 / 0.6304 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.5867, allocations: 2.231 MB / 0.6326 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5867, allocations: 0 / 0.6326 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/0.5889, allocations: 315.9 kB / 0.6329 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.5893, allocations: 186.4 kB / 0.633 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.5894, allocations: 15.98 kB / 0.633 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0044/0.5938, allocations: 4.353 MB / 0.6373 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5938, allocations: 0 / 0.6373 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.5976, allocations: 1.418 MB / 0.6387 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.5978, allocations: 95.25 kB / 0.6388 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.598, allocations: 19.98 kB / 0.6388 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.5986, allocations: 43.91 kB / 0.6388 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.5987, allocations: 52.41 kB / 0.6389 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.5988, allocations: 23.92 kB / 0.6389 GB, free: 13.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001214/0.6, allocations: 0.8257 MB / 0.6397 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6, allocations: 0 / 0.6397 GB, free: 12.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001929/0.6019, allocations: 423.7 kB / 0.6401 GB, free: 12.02 MB / 494.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.0008227/0.6027, allocations: 370.8 kB / 0.6405 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003321/0.6061, allocations: 1.347 MB / 0.6418 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.6061, allocations: 8.062 kB / 0.6418 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.6077, allocations: 0.7176 MB / 0.6425 GB, free: 9.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.609, allocations: 274.3 kB / 0.6428 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006546/0.6156, allocations: 3.627 MB / 0.6463 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.6168, allocations: 1.011 MB / 0.6473 GB, free: 4.504 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001543/0.6184, allocations: 463.6 kB / 0.6477 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.6189, allocations: 171.3 kB / 0.6479 GB, free: 3.879 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6189, allocations: 0 / 0.6479 GB, free: 3.879 MB / 494.1 MB Notification: Performance of Templates: time 0.04216/0.661, allocations: 25.35 MB / 0.6726 GB, free: 10.76 MB / 0.5137 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: 5.827198272570968] Failed to read output from testmodel.py, exit status != 0: 0.6703534107655287 0.6838874490000001 0.21238569000000002 Calling exit ...