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.00127/0.00127, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001428/0.001428, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.39/1.39, allocations: 230.6 MB / 256.8 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.1327/0.1327, allocations: 23.89 MB / 337.1 MB, free: 11.06 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.002025/0.002025, allocations: 67.89 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3181, allocations: 59.86 MB / 0.5197 GB, free: 9.773 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.07156/0.3897, allocations: 28.09 MB / 0.5472 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02385/0.4136, allocations: 17.13 MB / 0.5639 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.4158, allocations: 27.81 kB / 0.5639 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.4173, allocations: 463.3 kB / 0.5644 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00407/0.4214, allocations: 1.205 MB / 0.5656 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008491/0.4299, allocations: 2.888 MB / 0.5684 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003405/0.4333, allocations: 2.101 MB / 0.5704 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.4347, allocations: 1.077 MB / 0.5715 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.4358, allocations: 0.931 MB / 0.5724 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.4372, allocations: 1.07 MB / 0.5734 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.4375, allocations: 200 kB / 0.5736 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006415/0.4439, allocations: 2.005 MB / 0.5756 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000668/0.4446, allocations: 474.6 kB / 0.576 GB, free: 132 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.4458, allocations: 0.8248 MB / 0.5768 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.4562, allocations: 4.35 MB / 0.5811 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.4562, allocations: 0 / 0.5811 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4562, allocations: 0 / 0.5811 GB, free: 10.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.542e-05/0.4562, allocations: 0 / 0.5811 GB, free: 10.93 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.004438/0.4607, allocations: 2.335 MB / 0.5834 GB, free: 8.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4607, allocations: 12.03 kB / 0.5834 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.4624, allocations: 443 kB / 0.5838 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.4644, allocations: 1.011 MB / 0.5848 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.4646, allocations: 238.4 kB / 0.585 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/0.4648, allocations: 168 kB / 0.5852 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003851/0.4687, allocations: 2.233 MB / 0.5874 GB, free: 4.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.4687, allocations: 7.938 kB / 0.5874 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.4689, allocations: 64 kB / 0.5874 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.4689, allocations: 44 kB / 0.5875 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00411/0.4731, allocations: 2.696 MB / 0.5901 GB, free: 1.527 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.01131/0.4844, allocations: 6.139 MB / 0.5961 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.4862, allocations: 0.9756 MB / 0.597 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008211/0.487, allocations: 0.5135 MB / 0.5975 GB, free: 9.719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007427/0.4944, allocations: 2.973 MB / 0.6005 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.4945, allocations: 43.22 kB / 0.6005 GB, free: 6.672 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000583/0.4951, allocations: 103.1 kB / 0.6006 GB, free: 6.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 3.266e-06/0.4951, allocations: 0 / 0.6006 GB, free: 6.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01982/0.5149, allocations: 4.559 MB / 0.605 GB, free: 1.953 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.515, allocations: 119.8 kB / 0.6052 GB, free: 1.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.5167, allocations: 1.449 MB / 0.6066 GB, free: 348 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/0.5168, allocations: 45.7 kB / 0.6066 GB, free: 296 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006652/0.5174, allocations: 0.9319 MB / 0.6075 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.5177, allocations: 361 kB / 0.6079 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000518/0.5183, allocations: 355.3 kB / 0.6082 GB, free: 14.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5184, allocations: 357.9 kB / 0.6085 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009897/0.5194, allocations: 0.6364 MB / 0.6092 GB, free: 13.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.521, allocations: 1.345 MB / 0.6105 GB, free: 11.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002561/0.5236, allocations: 1.936 MB / 0.6124 GB, free: 9.691 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.5236, allocations: 8 kB / 0.6124 GB, free: 9.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005677/0.5293, allocations: 2.375 MB / 0.6147 GB, free: 7.289 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.5293, allocations: 20.03 kB / 0.6147 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.5294, allocations: 24 kB / 0.6147 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002724/0.5321, allocations: 378.8 kB / 0.6151 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/0.5348, allocations: 0.5617 MB / 0.6157 GB, free: 6.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008698/0.5435, allocations: 7.378 MB / 0.6229 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.5448, allocations: 88.05 kB / 0.6229 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.545, allocations: 108 kB / 0.623 GB, free: 14.27 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.0006708/0.5457, allocations: 365.1 kB / 0.6234 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.546, allocations: 123.2 kB / 0.6235 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/0.5508, allocations: 1.522 MB / 0.625 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.5508, allocations: 12 kB / 0.625 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5508, allocations: 3.938 kB / 0.625 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.5508, allocations: 7.984 kB / 0.625 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006894/0.5577, allocations: 2.65 MB / 0.6276 GB, free: 9.422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.5578, allocations: 8 kB / 0.6276 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/0.5586, allocations: 215.7 kB / 0.6278 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/0.5615, allocations: 409 kB / 0.6282 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/0.5616, allocations: 43.98 kB / 0.6283 GB, free: 8.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008357/0.57, allocations: 7.168 MB / 0.6353 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/0.57, allocations: 11.94 kB / 0.6353 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005341/0.5753, allocations: 2.156 MB / 0.6374 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003663/0.5757, allocations: 127.2 kB / 0.6375 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.5759, allocations: 32.19 kB / 0.6375 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.5765, allocations: 31.98 kB / 0.6376 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.5767, allocations: 116.2 kB / 0.6377 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.115e-05/0.5768, allocations: 47.98 kB / 0.6377 GB, free: 14.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.578, allocations: 0.9752 MB / 0.6387 GB, free: 13.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.578, allocations: 0 / 0.6387 GB, free: 13.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002788/0.5808, allocations: 0.8221 MB / 0.6395 GB, free: 12.66 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.001863/0.5827, allocations: 0.8915 MB / 0.6403 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003448/0.5861, allocations: 1.707 MB / 0.642 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.5861, allocations: 0 / 0.642 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.5875, allocations: 0.9609 MB / 0.6429 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.589, allocations: 224.2 kB / 0.6432 GB, free: 8.793 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.5939, allocations: 2.879 MB / 0.646 GB, free: 5.797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/0.5946, allocations: 0.633 MB / 0.6466 GB, free: 5.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001014/0.5956, allocations: 313.8 kB / 0.6469 GB, free: 4.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.596, allocations: 179.3 kB / 0.6471 GB, free: 4.645 MB / 494.1 MB Notification: Performance of SimCode: time 1.683e-06/0.596, allocations: 0 / 0.6471 GB, free: 4.645 MB / 494.1 MB Notification: Performance of Templates: time 0.04919/0.6452, allocations: 30.45 MB / 0.6768 GB, free: 6.367 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.992350179993082] Failed to read output from testmodel.py, exit status != 0: 0.6545166389987571 0.670066154 0.210371527 Calling exit ...