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.001354/0.001354, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001512/0.001512, allocations: 207.1 kB / 22.99 MB, free: 4.965 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1359/0.1359, allocations: 23.98 MB / 337.2 MB, free: 10.87 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.002124/0.002124, allocations: 71.88 kB / 472.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 59.89 MB / 0.52 GB, free: 9.719 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.07744/0.4388, allocations: 27.73 MB / 0.547 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03029/0.469, allocations: 19.02 MB / 0.5656 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.471, allocations: 27.75 kB / 0.5656 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.4728, allocations: 497.6 kB / 0.5661 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.4763, allocations: 0.9679 MB / 0.5671 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.4867, allocations: 3.341 MB / 0.5703 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003264/0.49, allocations: 1.801 MB / 0.5721 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.4911, allocations: 0.747 MB / 0.5728 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.4922, allocations: 0.8064 MB / 0.5736 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.4933, allocations: 0.8091 MB / 0.5744 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.4935, allocations: 148 kB / 0.5745 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005983/0.4995, allocations: 1.969 MB / 0.5764 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.5, allocations: 382.8 kB / 0.5768 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009071/0.5009, allocations: 0.669 MB / 0.5775 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.5112, allocations: 4.05 MB / 0.5814 GB, free: 10.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5113, allocations: 0 / 0.5814 GB, free: 10.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5113, allocations: 0 / 0.5814 GB, free: 10.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.502e-05/0.5113, allocations: 0 / 0.5814 GB, free: 10.64 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.003683/0.515, allocations: 2.064 MB / 0.5834 GB, free: 8.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.515, allocations: 16.02 kB / 0.5835 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.5168, allocations: 443.1 kB / 0.5839 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.5187, allocations: 0.9842 MB / 0.5848 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.5189, allocations: 213.7 kB / 0.585 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.5192, allocations: 124 kB / 0.5852 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.5221, allocations: 1.768 MB / 0.5869 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.5221, allocations: 4 kB / 0.5869 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.5223, allocations: 52 kB / 0.5869 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.5223, allocations: 32 kB / 0.587 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.5262, allocations: 2.303 MB / 0.5892 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008346/0.5345, allocations: 4.822 MB / 0.5939 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.5359, allocations: 0.6938 MB / 0.5946 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.5364, allocations: 336.4 kB / 0.5949 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006815/0.5433, allocations: 2.853 MB / 0.5977 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.5433, allocations: 46.5 kB / 0.5978 GB, free: 9.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.5433, allocations: 0 / 0.5978 GB, free: 9.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001529/0.5448, allocations: 0.6387 MB / 0.5984 GB, free: 8.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.5449, allocations: 114.8 kB / 0.5985 GB, free: 8.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.5464, allocations: 1.241 MB / 0.5997 GB, free: 7.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.5465, allocations: 37.7 kB / 0.5997 GB, free: 7.477 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/0.5471, allocations: 0.8645 MB / 0.6006 GB, free: 6.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.5473, allocations: 151.1 kB / 0.6007 GB, free: 6.453 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.5476, allocations: 295.3 kB / 0.601 GB, free: 6.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5478, allocations: 357.9 kB / 0.6013 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/0.5484, allocations: 343.8 kB / 0.6017 GB, free: 5.469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.5497, allocations: 1.156 MB / 0.6028 GB, free: 3.902 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.5516, allocations: 1.537 MB / 0.6043 GB, free: 1.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.5516, allocations: 8 kB / 0.6043 GB, free: 1.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002624/0.5542, allocations: 1.556 MB / 0.6058 GB, free: 392 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.5543, allocations: 16.19 kB / 0.6058 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/0.5543, allocations: 36 kB / 0.6059 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006651/0.555, allocations: 157.3 kB / 0.606 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.5561, allocations: 399.5 kB / 0.6064 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.5594, allocations: 3.829 MB / 0.6102 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.5605, allocations: 183 kB / 0.6103 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.5607, allocations: 99.98 kB / 0.6104 GB, free: 11.41 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.0005692/0.5612, allocations: 329.1 kB / 0.6107 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.5615, allocations: 111.2 kB / 0.6108 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.5633, allocations: 0.9443 MB / 0.6118 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.5633, allocations: 4 kB / 0.6118 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.5633, allocations: 0 / 0.6118 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5634, allocations: 4.031 kB / 0.6118 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.5656, allocations: 1.159 MB / 0.6129 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5656, allocations: 4 kB / 0.6129 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.5659, allocations: 55.92 kB / 0.613 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008345/0.5667, allocations: 183.3 kB / 0.6131 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.5667, allocations: 20 kB / 0.6132 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003569/0.5703, allocations: 3.695 MB / 0.6168 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5703, allocations: 4 kB / 0.6168 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.5719, allocations: 0.8999 MB / 0.6176 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.5722, allocations: 103.2 kB / 0.6177 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.5725, allocations: 19.89 kB / 0.6178 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.573, allocations: 8 kB / 0.6178 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.573, allocations: 39.88 kB / 0.6178 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.5731, allocations: 20 kB / 0.6178 GB, free: 3.355 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001431/0.5745, allocations: 0.8807 MB / 0.6187 GB, free: 2.469 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5745, allocations: 4.062 kB / 0.6187 GB, free: 2.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002817/0.5773, allocations: 0.7123 MB / 0.6194 GB, free: 1.75 MB / 462.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.002101/0.5794, allocations: 0.8548 MB / 0.6202 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.5815, allocations: 0.8133 MB / 0.621 GB, free: 80 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5816, allocations: 0 / 0.621 GB, free: 80 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006742/0.5822, allocations: 403 kB / 0.6214 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.5836, allocations: 172.9 kB / 0.6216 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.5877, allocations: 2.015 MB / 0.6235 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.5884, allocations: 0.4993 MB / 0.624 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/0.5889, allocations: 215.3 kB / 0.6242 GB, free: 12.67 MB / 478.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5889, allocations: 0 / 0.6242 GB, free: 12.67 MB / 478.1 MB Notification: Performance of Templates: time 0.05801/0.6469, allocations: 40.87 MB / 0.6641 GB, free: 3.855 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: 10.052748251706362] Failed to read output from testmodel.py, exit status != 0: 0.6575203109532595 0.6735694440000001 0.15895472800000002 Calling exit ...