Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.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.001315/0.001315, 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.00146/0.00146, allocations: 212.8 kB / 22.99 MB, free: 4.98 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.451/1.451, 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.1429/0.1429, allocations: 23.92 MB / 337.1 MB, free: 10.94 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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.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.002063/0.002063, allocations: 71.89 kB / 472.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.333, allocations: 59.87 MB / 0.5198 GB, free: 9.715 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.ElectrochemicalCell): time 0.07505/0.4081, allocations: 29.86 MB / 0.549 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03518/0.4433, allocations: 25.31 MB / 0.5737 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.4456, allocations: 31.75 kB / 0.5737 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.4475, allocations: 0.593 MB / 0.5743 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007049/0.4545, allocations: 2.161 MB / 0.5764 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01253/0.4671, allocations: 3.93 MB / 0.5803 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005062/0.4721, allocations: 2.848 MB / 0.583 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.4744, allocations: 1.369 MB / 0.5844 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.4766, allocations: 1.348 MB / 0.5857 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.4792, allocations: 1.506 MB / 0.5872 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007172/0.4799, allocations: 260 kB / 0.5874 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009532/0.4895, allocations: 3.034 MB / 0.5904 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009988/0.4905, allocations: 0.6037 MB / 0.591 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001717/0.4922, allocations: 1.097 MB / 0.592 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.5063, allocations: 6.183 MB / 0.5981 GB, free: 9.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.5063, allocations: 4 kB / 0.5981 GB, free: 9.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5063, allocations: 4 kB / 0.5981 GB, free: 9.516 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.351e-05/0.5064, allocations: 0 / 0.5981 GB, free: 9.516 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.006608/0.513, allocations: 3.088 MB / 0.6011 GB, free: 6.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5131, allocations: 8.031 kB / 0.6011 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.5155, allocations: 0.5609 MB / 0.6016 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.5183, allocations: 1.243 MB / 0.6029 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.5186, allocations: 279.5 kB / 0.6031 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004984/0.5191, allocations: 224 kB / 0.6033 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004706/0.5238, allocations: 2.679 MB / 0.606 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/0.5238, allocations: 0 / 0.606 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.5241, allocations: 92 kB / 0.606 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/0.5241, allocations: 56 kB / 0.6061 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005537/0.5296, allocations: 3.291 MB / 0.6093 GB, free: 13.79 MB / 462.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.01417/0.5438, allocations: 7.003 MB / 0.6162 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002673/0.5465, allocations: 1.527 MB / 0.6176 GB, free: 5.121 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.5479, allocations: 0.8508 MB / 0.6185 GB, free: 4.258 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.5588, allocations: 4.269 MB / 0.6226 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.5589, allocations: 55.81 kB / 0.6227 GB, free: 15.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=128): time 4.389e-06/0.5589, allocations: 0 / 0.6227 GB, free: 15.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03079/0.5897, allocations: 8.099 MB / 0.6306 GB, free: 7.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/0.5898, allocations: 99.05 kB / 0.6307 GB, free: 7.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.5916, allocations: 1.317 MB / 0.632 GB, free: 6.301 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.5918, allocations: 53.73 kB / 0.632 GB, free: 6.242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000863/0.5927, allocations: 1.089 MB / 0.6331 GB, free: 5.141 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000717/0.5934, allocations: 0.6624 MB / 0.6337 GB, free: 4.473 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007268/0.5941, allocations: 481 kB / 0.6342 GB, free: 3.996 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5942, allocations: 305.1 kB / 0.6345 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.5957, allocations: 0.8132 MB / 0.6353 GB, free: 2.879 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.598, allocations: 1.669 MB / 0.6369 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004181/0.6022, allocations: 2.61 MB / 0.6395 GB, free: 13.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/0.6022, allocations: 8 kB / 0.6395 GB, free: 13.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007249/0.6095, allocations: 3.042 MB / 0.6424 GB, free: 10.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.6095, allocations: 19.94 kB / 0.6425 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/0.6096, allocations: 28 kB / 0.6425 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/0.6126, allocations: 0.5263 MB / 0.643 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/0.6164, allocations: 0.7958 MB / 0.6438 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009341/0.6257, allocations: 7.523 MB / 0.6511 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.6275, allocations: 99.77 kB / 0.6512 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/0.6278, allocations: 140 kB / 0.6514 GB, free: 1.168 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * 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 (311): * Single equations (assignments): 305 * 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,6), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000928/0.6287, allocations: 457 kB / 0.6518 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004171/0.6291, allocations: 170.9 kB / 0.652 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006508/0.6357, allocations: 2.55 MB / 0.6544 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.6357, allocations: 27.94 kB / 0.6545 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.6357, allocations: 0 / 0.6545 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.863e-05/0.6357, allocations: 11.95 kB / 0.6545 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.6458, allocations: 4.249 MB / 0.6586 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/0.6458, allocations: 12 kB / 0.6586 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.6474, allocations: 420 kB / 0.659 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/0.6506, allocations: 0.547 MB / 0.6596 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/0.6508, allocations: 83.89 kB / 0.6597 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008647/0.6594, allocations: 7.3 MB / 0.6668 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/0.6594, allocations: 20.06 kB / 0.6668 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007281/0.6667, allocations: 3.446 MB / 0.6702 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.6672, allocations: 166.8 kB / 0.6703 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.6675, allocations: 59.98 kB / 0.6704 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009327/0.6684, allocations: 44 kB / 0.6704 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/0.6687, allocations: 200.7 kB / 0.6706 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/0.6689, allocations: 95.97 kB / 0.6707 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001132/0.67, allocations: 0.8313 MB / 0.6715 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.67, allocations: 0 / 0.6715 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00379/0.6738, allocations: 1.212 MB / 0.6727 GB, free: 10.36 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 8 (cathode.temperature,Ag.logn,anode.temperature,solution1.temperature,Cl.logn,AgCl.logn,H.logn,liquidWater.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 (198): * Single equations (assignments): 192 * 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,6), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002526/0.6763, allocations: 1.331 MB / 0.674 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00509/0.6814, allocations: 2.37 MB / 0.6763 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.6814, allocations: 0 / 0.6763 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.6838, allocations: 1.375 MB / 0.6777 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.6858, allocations: 343.9 kB / 0.678 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00702/0.6928, allocations: 4.098 MB / 0.682 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.6938, allocations: 0.8499 MB / 0.6828 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009886/0.6948, allocations: 355.2 kB / 0.6832 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/0.6948, allocations: 0 / 0.6832 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of Templates: time 0.326/1.021, allocations: 83.38 MB / 0.7646 GB, free: 161.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.680686872976366] Failed to read output from testmodel.py, exit status != 0: 1.0301974389585666 1.038986007 0.530249745 Calling exit ...