Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.001893/0.001893, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.001475/0.001475, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.1402/0.1402, allocations: 23.89 MB / 332.7 MB, free: 12.34 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.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [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.002138/0.002138, allocations: 68.17 kB / 466.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3117, allocations: 59.83 MB / 0.514 GB, free: 9.121 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.CheckSubstancesData.StandardElectrochemicalCell): time 0.0418/0.3535, allocations: 28.41 MB / 0.5418 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02874/0.3823, allocations: 21.7 MB / 0.563 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.3838, allocations: 27.81 kB / 0.563 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.3855, allocations: 0.536 MB / 0.5635 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.3886, allocations: 1.005 MB / 0.5645 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.3987, allocations: 3.304 MB / 0.5677 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003181/0.4019, allocations: 1.813 MB / 0.5695 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.4033, allocations: 0.7702 MB / 0.5702 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.4045, allocations: 0.8102 MB / 0.571 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.4061, allocations: 0.8989 MB / 0.5719 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.4065, allocations: 148 kB / 0.5721 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007113/0.4136, allocations: 2.079 MB / 0.5741 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000687/0.4143, allocations: 386.8 kB / 0.5745 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.4158, allocations: 0.8049 MB / 0.5752 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.4272, allocations: 4.062 MB / 0.5792 GB, free: 8.344 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4272, allocations: 0 / 0.5792 GB, free: 8.344 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4272, allocations: 0 / 0.5792 GB, free: 8.344 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.56e-05/0.4273, allocations: 4 kB / 0.5792 GB, free: 8.34 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: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.005392/0.4327, allocations: 2.159 MB / 0.5813 GB, free: 6.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4328, allocations: 8.031 kB / 0.5813 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.4349, allocations: 439.1 kB / 0.5817 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.4372, allocations: 1.068 MB / 0.5828 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.4374, allocations: 154.3 kB / 0.5829 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.4376, allocations: 124 kB / 0.5831 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/0.4409, allocations: 1.748 MB / 0.5848 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.4409, allocations: 7.938 kB / 0.5848 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.4411, allocations: 52 kB / 0.5848 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/0.4411, allocations: 32 kB / 0.5849 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/0.4449, allocations: 2.311 MB / 0.5871 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008555/0.4535, allocations: 5.588 MB / 0.5926 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.4549, allocations: 0.694 MB / 0.5932 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006379/0.4556, allocations: 340.3 kB / 0.5936 GB, free: 9.223 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009307/0.4649, allocations: 5.728 MB / 0.5992 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4649, allocations: 38.5 kB / 0.5992 GB, free: 2.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.505e-06/0.4649, allocations: 0 / 0.5992 GB, free: 2.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001808/0.4667, allocations: 0.798 MB / 0.6 GB, free: 1.906 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.4668, allocations: 114.8 kB / 0.6001 GB, free: 1.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.4686, allocations: 1.287 MB / 0.6013 GB, free: 484 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.4686, allocations: 29.7 kB / 0.6014 GB, free: 448 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/0.4694, allocations: 0.8726 MB / 0.6022 GB, free: 15.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.4695, allocations: 154.8 kB / 0.6024 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/0.47, allocations: 295.3 kB / 0.6027 GB, free: 15.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4701, allocations: 357.9 kB / 0.603 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.4707, allocations: 335.8 kB / 0.6033 GB, free: 14.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.4721, allocations: 1.148 MB / 0.6044 GB, free: 12.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.4742, allocations: 1.534 MB / 0.6059 GB, free: 10.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-05/0.4742, allocations: 8 kB / 0.6059 GB, free: 10.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002935/0.4771, allocations: 1.551 MB / 0.6075 GB, free: 9.352 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.4772, allocations: 16.84 kB / 0.6075 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/0.4772, allocations: 35.94 kB / 0.6075 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007427/0.478, allocations: 161.4 kB / 0.6077 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.4792, allocations: 395.4 kB / 0.608 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.4828, allocations: 4.089 MB / 0.612 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.4839, allocations: 186.6 kB / 0.6122 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.4841, allocations: 99.98 kB / 0.6123 GB, free: 4.039 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005576/0.4846, allocations: 337.1 kB / 0.6126 GB, free: 3.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.4849, allocations: 115.2 kB / 0.6127 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.4869, allocations: 0.945 MB / 0.6137 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.4869, allocations: 7.938 kB / 0.6137 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.4869, allocations: 0 / 0.6137 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4869, allocations: 3.984 kB / 0.6137 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/0.4894, allocations: 1.369 MB / 0.615 GB, free: 1.125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4894, allocations: 4 kB / 0.615 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.4897, allocations: 63.91 kB / 0.6151 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007823/0.4905, allocations: 179.2 kB / 0.6152 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.4905, allocations: 20 kB / 0.6153 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003487/0.494, allocations: 3.955 MB / 0.6191 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.494, allocations: 4 kB / 0.6191 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.4954, allocations: 0.9135 MB / 0.62 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.4957, allocations: 188.3 kB / 0.6202 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.4958, allocations: 19.89 kB / 0.6202 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.4962, allocations: 8 kB / 0.6202 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.4963, allocations: 47.89 kB / 0.6203 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.4963, allocations: 16 kB / 0.6203 GB, free: 11.29 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001313/0.4976, allocations: 0.9547 MB / 0.6212 GB, free: 10.33 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4976, allocations: 0 / 0.6212 GB, free: 10.33 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002245/0.4999, allocations: 0.7123 MB / 0.6219 GB, free: 9.617 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001928/0.5018, allocations: 0.8593 MB / 0.6228 GB, free: 8.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.5037, allocations: 0.807 MB / 0.6235 GB, free: 7.949 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5037, allocations: 0 / 0.6235 GB, free: 7.949 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.5043, allocations: 389.2 kB / 0.6239 GB, free: 7.543 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.5055, allocations: 189.3 kB / 0.6241 GB, free: 7.359 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.5091, allocations: 1.993 MB / 0.626 GB, free: 5.297 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009003/0.51, allocations: 1.095 MB / 0.6271 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009412/0.5109, allocations: 305.2 kB / 0.6274 GB, free: 3.891 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.5112, allocations: 159.3 kB / 0.6276 GB, free: 3.734 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5112, allocations: 4 kB / 0.6276 GB, free: 3.73 MB / 478.1 MB Notification: Performance of Templates: time 0.03986/0.5511, allocations: 21.97 MB / 0.649 GB, free: 13.82 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.689801804255694] Failed to read output from testmodel.py, exit status != 0: 0.5605322797782719 0.575764889 0.145263883 Calling exit ...