Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.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.002008/0.002008, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.002377/0.002377, allocations: 209.9 kB / 22.99 MB, free: 4.41 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.49/1.49, allocations: 230.6 MB / 256.8 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.1415/0.1415, allocations: 23.91 MB / 337.1 MB, free: 11.02 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.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [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.002029/0.002029, allocations: 67.89 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3218, allocations: 59.87 MB / 0.5198 GB, free: 9.75 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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/Obsolete.mo:14335:7-14335: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. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell): time 0.07451/0.3963, allocations: 28.18 MB / 0.5473 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02465/0.421, allocations: 17.14 MB / 0.5641 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.4228, allocations: 23.81 kB / 0.5641 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.4245, allocations: 463 kB / 0.5645 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.4292, allocations: 1.196 MB / 0.5657 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009387/0.4386, allocations: 2.906 MB / 0.5685 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0042/0.4428, allocations: 2.09 MB / 0.5706 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.4448, allocations: 1.088 MB / 0.5717 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.4464, allocations: 0.931 MB / 0.5726 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.448, allocations: 1.066 MB / 0.5736 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003599/0.4484, allocations: 200 kB / 0.5738 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005715/0.4541, allocations: 2.009 MB / 0.5758 GB, free: 452 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007002/0.4548, allocations: 470.6 kB / 0.5762 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.456, allocations: 0.8208 MB / 0.577 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009742/0.4657, allocations: 4.354 MB / 0.5813 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4657, allocations: 0 / 0.5813 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4657, allocations: 8 kB / 0.5813 GB, free: 10.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.506e-05/0.4658, allocations: 0 / 0.5813 GB, free: 10.78 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004546/0.4703, allocations: 2.323 MB / 0.5835 GB, free: 8.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4704, allocations: 8.031 kB / 0.5835 GB, free: 8.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.472, allocations: 450.8 kB / 0.584 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.4741, allocations: 1.015 MB / 0.585 GB, free: 6.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.4743, allocations: 242.4 kB / 0.5852 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.4747, allocations: 168 kB / 0.5854 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.4783, allocations: 2.237 MB / 0.5875 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.4783, allocations: 7.875 kB / 0.5875 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.4785, allocations: 68 kB / 0.5876 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.125e-05/0.4785, allocations: 40 kB / 0.5876 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004201/0.4827, allocations: 2.696 MB / 0.5903 GB, free: 1.367 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.4941, allocations: 6.128 MB / 0.5963 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.496, allocations: 0.9638 MB / 0.5972 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008492/0.4968, allocations: 0.5213 MB / 0.5977 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007206/0.504, allocations: 2.973 MB / 0.6006 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.504, allocations: 43.16 kB / 0.6007 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005045/0.5046, allocations: 107.1 kB / 0.6008 GB, free: 6.422 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 3.166e-06/0.5046, allocations: 4 kB / 0.6008 GB, free: 6.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01767/0.5222, allocations: 4.559 MB / 0.6052 GB, free: 1.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.5223, allocations: 119.8 kB / 0.6053 GB, free: 1.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.5241, allocations: 1.453 MB / 0.6067 GB, free: 188 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.5243, allocations: 45.77 kB / 0.6068 GB, free: 136 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000694/0.525, allocations: 0.9239 MB / 0.6077 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.5253, allocations: 365 kB / 0.608 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/0.5259, allocations: 355.3 kB / 0.6084 GB, free: 14.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.526, allocations: 357.9 kB / 0.6087 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.5271, allocations: 0.6325 MB / 0.6093 GB, free: 13.49 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/0.5287, allocations: 1.345 MB / 0.6107 GB, free: 11.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.5314, allocations: 1.929 MB / 0.6125 GB, free: 9.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.906e-05/0.5314, allocations: 8 kB / 0.6125 GB, free: 9.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005598/0.537, allocations: 2.379 MB / 0.6149 GB, free: 7.145 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.537, allocations: 18.66 kB / 0.6149 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/0.5371, allocations: 24 kB / 0.6149 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.5395, allocations: 383.2 kB / 0.6153 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/0.5422, allocations: 0.5617 MB / 0.6158 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/0.5509, allocations: 7.374 MB / 0.623 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.5523, allocations: 83.78 kB / 0.6231 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.5525, allocations: 108 kB / 0.6232 GB, free: 14.13 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006845/0.5532, allocations: 369.3 kB / 0.6236 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.5535, allocations: 123.2 kB / 0.6237 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/0.558, allocations: 1.526 MB / 0.6252 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.558, allocations: 12 kB / 0.6252 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.558, allocations: 0 / 0.6252 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.558, allocations: 15.91 kB / 0.6252 GB, free: 12.06 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006812/0.5648, allocations: 2.641 MB / 0.6278 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.5648, allocations: 8.875 kB / 0.6278 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008874/0.5657, allocations: 219.7 kB / 0.628 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/0.5682, allocations: 404.5 kB / 0.6284 GB, free: 8.645 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.5684, allocations: 43.92 kB / 0.6284 GB, free: 8.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00818/0.5766, allocations: 7.176 MB / 0.6354 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/0.5766, allocations: 11.94 kB / 0.6354 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/0.5815, allocations: 2.156 MB / 0.6375 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.5819, allocations: 127.2 kB / 0.6377 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.5821, allocations: 28 kB / 0.6377 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.5828, allocations: 24 kB / 0.6377 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.583, allocations: 120.2 kB / 0.6378 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.355e-05/0.5831, allocations: 51.98 kB / 0.6379 GB, free: 14.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.5843, allocations: 0.9634 MB / 0.6388 GB, free: 13.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5843, allocations: 0 / 0.6388 GB, free: 13.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002807/0.5871, allocations: 0.8221 MB / 0.6396 GB, free: 12.53 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn) * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001727/0.5888, allocations: 0.9032 MB / 0.6405 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003428/0.5922, allocations: 1.707 MB / 0.6422 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.5922, allocations: 4 kB / 0.6422 GB, free: 9.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.5937, allocations: 0.9532 MB / 0.6431 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.5952, allocations: 231.3 kB / 0.6433 GB, free: 8.641 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.6001, allocations: 2.912 MB / 0.6462 GB, free: 5.605 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007123/0.6008, allocations: 0.633 MB / 0.6468 GB, free: 4.938 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.6014, allocations: 223.3 kB / 0.647 GB, free: 4.719 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6014, allocations: 0 / 0.647 GB, free: 4.719 MB / 494.1 MB Notification: Performance of Templates: time 0.07037/0.6718, allocations: 61.77 MB / 0.7073 GB, free: 6.934 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.523661707004067] Failed to read output from testmodel.py, exit status != 0: 0.6823257760261185 0.696584242 0.22735253100000002 Calling exit ...