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.001579/0.001579, 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.001496/0.001496, allocations: 211.1 kB / 22.98 MB, free: 4.984 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.419/1.419, 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.1307/0.1307, allocations: 23.91 MB / 337.1 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.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.002047/0.002047, allocations: 71.89 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2886, allocations: 59.88 MB / 0.5198 GB, free: 9.793 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.07183/0.3605, allocations: 28.09 MB / 0.5473 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02379/0.3842, allocations: 17.13 MB / 0.564 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.3858, allocations: 27.75 kB / 0.564 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.3873, allocations: 466.8 kB / 0.5645 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003835/0.3911, allocations: 1.193 MB / 0.5656 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007806/0.3989, allocations: 2.899 MB / 0.5685 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.4022, allocations: 2.094 MB / 0.5705 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.4038, allocations: 1.08 MB / 0.5716 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.4052, allocations: 0.931 MB / 0.5725 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.4068, allocations: 1.07 MB / 0.5735 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.4071, allocations: 200 kB / 0.5737 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005063/0.4122, allocations: 2.005 MB / 0.5757 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005603/0.4127, allocations: 470.5 kB / 0.5761 GB, free: 64 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.4138, allocations: 0.8287 MB / 0.5769 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008315/0.4221, allocations: 4.35 MB / 0.5812 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4221, allocations: 4 kB / 0.5812 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4221, allocations: 0 / 0.5812 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.288e-05/0.4221, allocations: 0 / 0.5812 GB, free: 10.86 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.004685/0.4268, allocations: 2.327 MB / 0.5834 GB, free: 8.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4268, allocations: 8.031 kB / 0.5834 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.4286, allocations: 454.8 kB / 0.5839 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.4309, allocations: 1.011 MB / 0.5849 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.4311, allocations: 238.4 kB / 0.5851 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/0.4315, allocations: 168 kB / 0.5853 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.4355, allocations: 2.229 MB / 0.5874 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.4355, allocations: 7.922 kB / 0.5874 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.4357, allocations: 76 kB / 0.5875 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-05/0.4358, allocations: 40 kB / 0.5876 GB, free: 4.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004219/0.44, allocations: 2.688 MB / 0.5902 GB, free: 1.457 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.011/0.451, allocations: 6.135 MB / 0.5962 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.4527, allocations: 0.9755 MB / 0.5971 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008538/0.4536, allocations: 0.5096 MB / 0.5976 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007131/0.4607, allocations: 2.981 MB / 0.6005 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.4608, allocations: 43.16 kB / 0.6006 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004598/0.4612, allocations: 103.1 kB / 0.6007 GB, free: 6.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.755e-06/0.4612, allocations: 0 / 0.6007 GB, free: 6.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.02093/0.4821, allocations: 4.555 MB / 0.6051 GB, free: 1.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.4822, allocations: 127.8 kB / 0.6052 GB, free: 1.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.484, allocations: 1.457 MB / 0.6067 GB, free: 264 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.4842, allocations: 37.7 kB / 0.6067 GB, free: 220 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/0.4848, allocations: 0.9317 MB / 0.6076 GB, free: 15.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/0.4852, allocations: 361 kB / 0.608 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005433/0.4857, allocations: 355.3 kB / 0.6083 GB, free: 14.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4859, allocations: 357.9 kB / 0.6086 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.487, allocations: 0.6364 MB / 0.6093 GB, free: 13.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/0.4886, allocations: 1.345 MB / 0.6106 GB, free: 11.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.4913, allocations: 1.929 MB / 0.6124 GB, free: 9.629 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.4913, allocations: 8 kB / 0.6125 GB, free: 9.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.006145/0.4975, allocations: 2.375 MB / 0.6148 GB, free: 7.223 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.4975, allocations: 16 kB / 0.6148 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/0.4976, allocations: 24 kB / 0.6148 GB, free: 7.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002914/0.5005, allocations: 383.2 kB / 0.6152 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/0.5035, allocations: 0.5656 MB / 0.6157 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009494/0.513, allocations: 7.382 MB / 0.6229 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.5145, allocations: 76.05 kB / 0.623 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/0.5147, allocations: 112 kB / 0.6231 GB, free: 14.2 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.0006821/0.5154, allocations: 369.1 kB / 0.6235 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.5157, allocations: 119.2 kB / 0.6236 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005068/0.5208, allocations: 1.522 MB / 0.6251 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.5208, allocations: 15.94 kB / 0.6251 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5208, allocations: 0 / 0.6251 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.5208, allocations: 3.984 kB / 0.6251 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007256/0.5281, allocations: 2.65 MB / 0.6277 GB, free: 9.359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.5281, allocations: 12.16 kB / 0.6277 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/0.529, allocations: 219.6 kB / 0.6279 GB, free: 9.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003/0.532, allocations: 404.5 kB / 0.6283 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.5321, allocations: 43.92 kB / 0.6283 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008531/0.5407, allocations: 7.172 MB / 0.6353 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.5407, allocations: 15.92 kB / 0.6353 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.5462, allocations: 2.16 MB / 0.6375 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.5466, allocations: 119.2 kB / 0.6376 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.5468, allocations: 35.98 kB / 0.6376 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007301/0.5475, allocations: 24 kB / 0.6376 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.5477, allocations: 116.2 kB / 0.6377 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/0.5478, allocations: 51.97 kB / 0.6378 GB, free: 14.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001224/0.5491, allocations: 0.9635 MB / 0.6387 GB, free: 13.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5491, allocations: 0 / 0.6387 GB, free: 13.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002849/0.5519, allocations: 0.826 MB / 0.6395 GB, free: 12.6 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.001786/0.5537, allocations: 0.9021 MB / 0.6404 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003561/0.5573, allocations: 1.702 MB / 0.6421 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.5573, allocations: 5 kB / 0.6421 GB, free: 9.949 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.5588, allocations: 0.9566 MB / 0.643 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.5602, allocations: 225.4 kB / 0.6432 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.565, allocations: 2.869 MB / 0.646 GB, free: 5.734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/0.5657, allocations: 0.633 MB / 0.6467 GB, free: 5.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001055/0.5668, allocations: 317.8 kB / 0.647 GB, free: 4.754 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.5672, allocations: 187.3 kB / 0.6471 GB, free: 4.57 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/0.5672, allocations: 0 / 0.6471 GB, free: 4.57 MB / 494.1 MB Notification: Performance of Templates: time 0.04928/0.6165, allocations: 30.44 MB / 0.6769 GB, free: 6.301 MB / 0.5137 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.855684022011701] Failed to read output from testmodel.py, exit status != 0: 0.6261174149985891 0.641229969 0.21571656 Calling exit ...