Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001372/0.001372, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001494/0.001494, allocations: 213.6 kB / 22.24 MB, free: 5.238 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.385/1.385, allocations: 230.6 MB / 256 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.142/0.142, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002027/0.002027, allocations: 71.91 kB / 471.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.333, allocations: 59.86 MB / 0.519 GB, free: 9.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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/Obsolete.mo:14337:7-14337: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.07584/0.4088, allocations: 28.25 MB / 0.5466 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02645/0.4353, allocations: 17.13 MB / 0.5633 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.437, allocations: 23.81 kB / 0.5634 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.4384, allocations: 462.8 kB / 0.5638 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.4424, allocations: 1.208 MB / 0.565 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008297/0.4507, allocations: 2.891 MB / 0.5678 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.4541, allocations: 2.09 MB / 0.5698 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.4555, allocations: 1.053 MB / 0.5709 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.4566, allocations: 0.9387 MB / 0.5718 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.4579, allocations: 0.953 MB / 0.5727 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.4582, allocations: 200 kB / 0.5729 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005493/0.4637, allocations: 1.958 MB / 0.5748 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004509/0.4641, allocations: 466.6 kB / 0.5753 GB, free: 184 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.465, allocations: 0.8248 MB / 0.5761 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007452/0.4725, allocations: 4.346 MB / 0.5803 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4725, allocations: 0 / 0.5803 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4725, allocations: 0 / 0.5803 GB, free: 10.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.4725, allocations: 0 / 0.5803 GB, free: 10.99 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.003943/0.4764, allocations: 2.331 MB / 0.5826 GB, free: 8.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4765, allocations: 15.91 kB / 0.5826 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.478, allocations: 447 kB / 0.583 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.4799, allocations: 1.019 MB / 0.584 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.4801, allocations: 238.4 kB / 0.5843 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.4804, allocations: 160 kB / 0.5844 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.4837, allocations: 2.245 MB / 0.5866 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.4838, allocations: 4 kB / 0.5866 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.4839, allocations: 68 kB / 0.5867 GB, free: 4.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.484, allocations: 40 kB / 0.5867 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/0.488, allocations: 2.696 MB / 0.5893 GB, free: 1.57 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.01015/0.4981, allocations: 6.135 MB / 0.5953 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.4999, allocations: 0.9754 MB / 0.5963 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/0.5007, allocations: 0.5135 MB / 0.5968 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006686/0.5074, allocations: 2.969 MB / 0.5997 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.5075, allocations: 47.2 kB / 0.5997 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003855/0.5079, allocations: 103.1 kB / 0.5998 GB, free: 6.621 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.435e-06/0.5079, allocations: 0 / 0.5998 GB, free: 6.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01723/0.5251, allocations: 4.555 MB / 0.6043 GB, free: 2.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/0.5252, allocations: 123.7 kB / 0.6044 GB, free: 1.859 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.527, allocations: 1.445 MB / 0.6058 GB, free: 404 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.142e-05/0.527, allocations: 41.7 kB / 0.6058 GB, free: 356 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007007/0.5277, allocations: 0.928 MB / 0.6067 GB, free: 15.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.5281, allocations: 365.1 kB / 0.6071 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005099/0.5286, allocations: 359.3 kB / 0.6074 GB, free: 14.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.5288, allocations: 353.9 kB / 0.6078 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.5298, allocations: 0.6364 MB / 0.6084 GB, free: 13.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.5314, allocations: 1.345 MB / 0.6097 GB, free: 12.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002615/0.5341, allocations: 1.936 MB / 0.6116 GB, free: 9.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.5341, allocations: 8 kB / 0.6116 GB, free: 9.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005397/0.5395, allocations: 2.379 MB / 0.6139 GB, free: 7.344 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.5395, allocations: 16 kB / 0.6139 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/0.5395, allocations: 27.94 kB / 0.614 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.5419, allocations: 383.2 kB / 0.6143 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/0.5444, allocations: 0.5617 MB / 0.6149 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/0.5532, allocations: 7.378 MB / 0.6221 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.5544, allocations: 88.09 kB / 0.6222 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.5546, allocations: 104 kB / 0.6223 GB, free: 14.32 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.0006345/0.5552, allocations: 369.1 kB / 0.6226 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.5555, allocations: 119.2 kB / 0.6227 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.5599, allocations: 1.522 MB / 0.6242 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.5599, allocations: 12 kB / 0.6242 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5599, allocations: 0 / 0.6242 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5599, allocations: 3.984 kB / 0.6242 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00619/0.5661, allocations: 2.653 MB / 0.6268 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.5661, allocations: 8 kB / 0.6268 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/0.567, allocations: 216.5 kB / 0.627 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002473/0.5694, allocations: 408.7 kB / 0.6274 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.238e-05/0.5695, allocations: 47.92 kB / 0.6275 GB, free: 8.797 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007906/0.5774, allocations: 7.168 MB / 0.6345 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.5774, allocations: 8 kB / 0.6345 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/0.5822, allocations: 2.16 MB / 0.6366 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.5825, allocations: 119.2 kB / 0.6367 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.5827, allocations: 39.98 kB / 0.6368 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000624/0.5833, allocations: 27.94 kB / 0.6368 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.5835, allocations: 120.2 kB / 0.6369 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.5836, allocations: 47.98 kB / 0.6369 GB, free: 14.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.5847, allocations: 0.9673 MB / 0.6379 GB, free: 13.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5847, allocations: 0 / 0.6379 GB, free: 13.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002598/0.5873, allocations: 0.8221 MB / 0.6387 GB, free: 12.72 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.001586/0.5889, allocations: 0.9059 MB / 0.6396 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.5923, allocations: 1.702 MB / 0.6412 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.5923, allocations: 0 / 0.6412 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.5936, allocations: 0.9659 MB / 0.6422 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.5949, allocations: 221.6 kB / 0.6424 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.5992, allocations: 2.876 MB / 0.6452 GB, free: 5.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.5999, allocations: 0.6369 MB / 0.6458 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000954/0.6009, allocations: 309.8 kB / 0.6461 GB, free: 4.875 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.6012, allocations: 179.3 kB / 0.6463 GB, free: 4.699 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6012, allocations: 0 / 0.6463 GB, free: 4.699 MB / 494.1 MB Notification: Performance of Templates: time 0.04586/0.6471, allocations: 29.9 MB / 0.6755 GB, free: 6.969 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.977192604914308] Failed to read output from testmodel.py, exit status != 0: 0.6554673444479704 0.669000736 0.193460092 Calling exit ...