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.001508/0.001508, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001662/0.001662, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.367/1.367, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 179] 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.1252/0.1252, allocations: 17.44 MB / 277.2 MB, free: 15.17 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.001974/0.001974, allocations: 67.89 kB / 412.6 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 59.88 MB / 472.5 MB, free: 9.523 MB / 446.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.4202/0.5245, allocations: 27.68 MB / 0.4884 GB, free: 38.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01848/0.543, allocations: 19.03 MB / 0.507 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.5443, allocations: 28 kB / 0.507 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.5457, allocations: 494.6 kB / 0.5075 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002782/0.5485, allocations: 0.9575 MB / 0.5084 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009076/0.5576, allocations: 3.346 MB / 0.5117 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003034/0.5606, allocations: 1.803 MB / 0.5135 GB, free: 24.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.5619, allocations: 0.746 MB / 0.5142 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.5631, allocations: 0.8051 MB / 0.515 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.5645, allocations: 0.8126 MB / 0.5158 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.5648, allocations: 149 kB / 0.5159 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005871/0.5707, allocations: 1.961 MB / 0.5178 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.571, allocations: 378.4 kB / 0.5182 GB, free: 23.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007571/0.5718, allocations: 0.673 MB / 0.5189 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008676/0.5805, allocations: 4.052 MB / 0.5228 GB, free: 20.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5805, allocations: 1.094 kB / 0.5228 GB, free: 20.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5805, allocations: 0 / 0.5228 GB, free: 20.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.468e-05/0.5805, allocations: 3.938 kB / 0.5228 GB, free: 20.98 MB / 446.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.003741/0.5842, allocations: 2.069 MB / 0.5248 GB, free: 19.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5843, allocations: 8.75 kB / 0.5248 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.586, allocations: 442.1 kB / 0.5253 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.5877, allocations: 0.9925 MB / 0.5262 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.5878, allocations: 206.5 kB / 0.5264 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.588, allocations: 128.9 kB / 0.5266 GB, free: 18.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.5903, allocations: 1.762 MB / 0.5283 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.5903, allocations: 1 kB / 0.5283 GB, free: 18.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.5905, allocations: 51.47 kB / 0.5283 GB, free: 18.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.5905, allocations: 36.11 kB / 0.5284 GB, free: 18.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.5932, allocations: 2.312 MB / 0.5306 GB, free: 17.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006251/0.5994, allocations: 4.82 MB / 0.5353 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.6006, allocations: 0.7015 MB / 0.536 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/0.6011, allocations: 331.3 kB / 0.5363 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005951/0.607, allocations: 2.861 MB / 0.5391 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.607, allocations: 39.22 kB / 0.5392 GB, free: 11.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.144e-06/0.607, allocations: 0 / 0.5392 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.00125/0.6083, allocations: 0.642 MB / 0.5398 GB, free: 11.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.6083, allocations: 106.8 kB / 0.5399 GB, free: 10.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.6094, allocations: 1.245 MB / 0.5411 GB, free: 9.895 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.6094, allocations: 29.95 kB / 0.5411 GB, free: 9.859 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.6098, allocations: 0.8722 MB / 0.542 GB, free: 9.059 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.6099, allocations: 151 kB / 0.5421 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.6102, allocations: 297.3 kB / 0.5424 GB, free: 8.656 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.6102, allocations: 354.7 kB / 0.5427 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.6107, allocations: 340.9 kB / 0.5431 GB, free: 8.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007048/0.6114, allocations: 1.159 MB / 0.5442 GB, free: 6.523 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.6125, allocations: 1.529 MB / 0.5457 GB, free: 4.637 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.6125, allocations: 12.66 kB / 0.5457 GB, free: 4.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.001911/0.6144, allocations: 1.561 MB / 0.5472 GB, free: 3.191 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6145, allocations: 16 kB / 0.5472 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.6145, allocations: 32.61 kB / 0.5473 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.6151, allocations: 159.2 kB / 0.5474 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.6161, allocations: 395.4 kB / 0.5478 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.6185, allocations: 3.823 MB / 0.5515 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.6196, allocations: 179 kB / 0.5517 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.6197, allocations: 104.1 kB / 0.5518 GB, free: 14.4 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.0005895/0.6203, allocations: 330.8 kB / 0.5521 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/0.6205, allocations: 111.8 kB / 0.5522 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.6225, allocations: 0.9529 MB / 0.5532 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.6225, allocations: 4 kB / 0.5532 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.6225, allocations: 0 / 0.5532 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.6225, allocations: 1.219 kB / 0.5532 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.6247, allocations: 1.152 MB / 0.5543 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.6247, allocations: 8 kB / 0.5543 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.6249, allocations: 67.66 kB / 0.5544 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007573/0.6257, allocations: 177.2 kB / 0.5545 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.6257, allocations: 17.31 kB / 0.5545 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/0.6289, allocations: 3.695 MB / 0.5582 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.6289, allocations: 8.375 kB / 0.5582 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.6303, allocations: 0.8995 MB / 0.559 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.6305, allocations: 102.3 kB / 0.5591 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.6307, allocations: 21.14 kB / 0.5592 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.631, allocations: 8 kB / 0.5592 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.6311, allocations: 38.34 kB / 0.5592 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.6311, allocations: 20.77 kB / 0.5592 GB, free: 6.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001192/0.6323, allocations: 0.8836 MB / 0.5601 GB, free: 6.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6323, allocations: 0 / 0.5601 GB, free: 6.086 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002685/0.635, allocations: 0.7125 MB / 0.5608 GB, free: 5.387 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.001679/0.6367, allocations: 0.8594 MB / 0.5616 GB, free: 4.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.6387, allocations: 0.8149 MB / 0.5624 GB, free: 3.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6387, allocations: 0 / 0.5624 GB, free: 3.883 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000565/0.6392, allocations: 398.7 kB / 0.5628 GB, free: 3.496 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6402, allocations: 158.7 kB / 0.563 GB, free: 3.367 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.6436, allocations: 1.98 MB / 0.5649 GB, free: 1.438 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/0.6442, allocations: 0.5067 MB / 0.5654 GB, free: 1.051 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008468/0.6451, allocations: 297 kB / 0.5657 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.6453, allocations: 150.3 kB / 0.5658 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6453, allocations: 0 / 0.5658 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of Templates: time 0.03737/0.6827, allocations: 20.67 MB / 0.586 GB, free: 13.73 MB / 494.1 MB " [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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.400715191033669] Failed to read output from testmodel.py, exit status != 0: 0.6916363120544702 0.707820964 0.12384252500000001 Calling exit ...