Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.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.001293/0.001293, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.3 kB / 23 MB, free: 4.934 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.1331/0.1331, allocations: 23.92 MB / 337.1 MB, free: 10.95 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.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.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.002029/0.002029, allocations: 67.91 kB / 472.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.353, allocations: 59.89 MB / 0.5198 GB, free: 9.723 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.ElectrochemicalCell): time 0.07405/0.427, allocations: 29.76 MB / 0.5489 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0357/0.4627, allocations: 25.31 MB / 0.5736 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.4646, allocations: 35.75 kB / 0.5737 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.4667, allocations: 0.5852 MB / 0.5742 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006888/0.4736, allocations: 2.165 MB / 0.5763 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01176/0.4854, allocations: 3.938 MB / 0.5802 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004691/0.4901, allocations: 2.844 MB / 0.583 GB, free: 9.102 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.4923, allocations: 1.373 MB / 0.5843 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.4944, allocations: 1.348 MB / 0.5856 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002491/0.4969, allocations: 1.503 MB / 0.5871 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007234/0.4976, allocations: 260 kB / 0.5873 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008136/0.5058, allocations: 3.034 MB / 0.5903 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000958/0.5067, allocations: 0.6037 MB / 0.5909 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.5086, allocations: 1.101 MB / 0.592 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.5217, allocations: 6.186 MB / 0.598 GB, free: 9.605 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5217, allocations: 3.938 kB / 0.598 GB, free: 9.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5217, allocations: 0 / 0.598 GB, free: 9.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.5218, allocations: 0 / 0.598 GB, free: 9.602 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.007158/0.529, allocations: 3.08 MB / 0.601 GB, free: 6.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.529, allocations: 8.031 kB / 0.601 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/0.5316, allocations: 0.5609 MB / 0.6016 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.5342, allocations: 1.243 MB / 0.6028 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.5344, allocations: 287.4 kB / 0.6031 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004088/0.5348, allocations: 224 kB / 0.6033 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004873/0.5397, allocations: 2.671 MB / 0.6059 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.652e-05/0.5398, allocations: 3.938 kB / 0.6059 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.54, allocations: 92 kB / 0.606 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/0.5401, allocations: 52 kB / 0.606 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005617/0.5457, allocations: 3.291 MB / 0.6092 GB, free: 13.88 MB / 462.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.01417/0.5598, allocations: 6.999 MB / 0.6161 GB, free: 6.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.5626, allocations: 1.531 MB / 0.6176 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.5641, allocations: 0.8547 MB / 0.6184 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.5749, allocations: 4.265 MB / 0.6226 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.575, allocations: 51.88 kB / 0.6226 GB, free: 16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=128): time 4.107e-06/0.575, allocations: 4 kB / 0.6226 GB, free: 15.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03469/0.6097, allocations: 8.099 MB / 0.6305 GB, free: 7.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.6098, allocations: 103.1 kB / 0.6306 GB, free: 7.719 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.6116, allocations: 1.317 MB / 0.6319 GB, free: 6.391 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.6117, allocations: 57.7 kB / 0.632 GB, free: 6.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000832/0.6126, allocations: 1.081 MB / 0.633 GB, free: 5.234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006481/0.6132, allocations: 0.6624 MB / 0.6337 GB, free: 4.566 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007723/0.614, allocations: 489.1 kB / 0.6341 GB, free: 4.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6141, allocations: 301.1 kB / 0.6344 GB, free: 3.785 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.6157, allocations: 0.8132 MB / 0.6352 GB, free: 2.969 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/0.618, allocations: 1.661 MB / 0.6368 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004054/0.622, allocations: 2.614 MB / 0.6394 GB, free: 13.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.6221, allocations: 12 kB / 0.6394 GB, free: 13.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007645/0.6297, allocations: 3.042 MB / 0.6424 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.6297, allocations: 19.94 kB / 0.6424 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.587e-05/0.6298, allocations: 35.94 kB / 0.6424 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003654/0.6334, allocations: 0.5147 MB / 0.6429 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004085/0.6375, allocations: 0.7958 MB / 0.6437 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009901/0.6474, allocations: 7.523 MB / 0.6511 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.6493, allocations: 91.91 kB / 0.6511 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.6496, allocations: 147.9 kB / 0.6513 GB, free: 1.262 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * 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 (311): * Single equations (assignments): 305 * 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,6), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009253/0.6505, allocations: 452.9 kB / 0.6517 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/0.6509, allocations: 170.9 kB / 0.6519 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007392/0.6583, allocations: 2.554 MB / 0.6544 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.6583, allocations: 7.969 kB / 0.6544 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.6583, allocations: 7.938 kB / 0.6544 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/0.6586, allocations: 150.8 kB / 0.6545 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/0.659, allocations: 35.98 kB / 0.6546 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.66, allocations: 36 kB / 0.6546 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/0.6604, allocations: 153.7 kB / 0.6547 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007364/0.6677, allocations: 2.392 MB / 0.6571 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004961/0.6727, allocations: 2.916 MB / 0.6599 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001293/0.674, allocations: 0.7105 MB / 0.6606 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001248/0.6752, allocations: 0.843 MB / 0.6614 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of Backend: time 2.4e-07/0.6752, allocations: 0 / 0.6614 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008718/0.6839, allocations: 3.414 MB / 0.6648 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of SimCode: time 0.006073/0.69, allocations: 3.988 MB / 0.6687 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of Templates: time 0.08223/0.7722, allocations: 53.62 MB / 0.721 GB, free: 9.781 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.983266345006996] Failed to read output from testmodel.py, exit status != 0: 0.7810718940017978 0.964792837 0.44023691000000004 Calling exit ...