Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001945/0.001945, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.0023/0.0023, allocations: 214.1 kB / 22.3 MB, free: 5.281 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.55/1.55, allocations: 230.6 MB / 256.1 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1521/0.1521, allocations: 23.88 MB / 336.4 MB, free: 10.89 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002415/0.002415, allocations: 71.89 kB / 471.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3556, allocations: 59.86 MB / 0.5191 GB, free: 9.781 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.0788/0.4344, allocations: 29.91 MB / 0.5483 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03887/0.4732, allocations: 25.3 MB / 0.573 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.4756, allocations: 31.75 kB / 0.5731 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.4778, allocations: 0.6008 MB / 0.5737 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008557/0.4864, allocations: 2.157 MB / 0.5758 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0144/0.5008, allocations: 3.93 MB / 0.5796 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005306/0.5061, allocations: 2.856 MB / 0.5824 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.5084, allocations: 1.338 MB / 0.5837 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002182/0.5105, allocations: 1.348 MB / 0.585 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.513, allocations: 1.339 MB / 0.5863 GB, free: 4.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004785/0.5134, allocations: 260 kB / 0.5866 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009261/0.5227, allocations: 2.96 MB / 0.5895 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.524, allocations: 0.6075 MB / 0.5901 GB, free: 1.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.5258, allocations: 1.097 MB / 0.5911 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01627/0.542, allocations: 6.183 MB / 0.5972 GB, free: 9.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.542, allocations: 0 / 0.5972 GB, free: 9.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.542, allocations: 0 / 0.5972 GB, free: 9.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.543e-05/0.5421, allocations: 4 kB / 0.5972 GB, free: 9.727 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.007035/0.5492, allocations: 3.08 MB / 0.6002 GB, free: 6.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5492, allocations: 12.02 kB / 0.6002 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.5517, allocations: 0.557 MB / 0.6007 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.5543, allocations: 1.243 MB / 0.6019 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/0.5546, allocations: 279.4 kB / 0.6022 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004553/0.5551, allocations: 228 kB / 0.6024 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005167/0.5603, allocations: 2.679 MB / 0.605 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/0.5603, allocations: 4 kB / 0.605 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/0.5605, allocations: 84 kB / 0.6051 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/0.5606, allocations: 60 kB / 0.6052 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00592/0.5665, allocations: 3.295 MB / 0.6084 GB, free: 14 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.01532/0.5818, allocations: 6.993 MB / 0.6152 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.5846, allocations: 1.528 MB / 0.6167 GB, free: 5.344 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.5861, allocations: 0.8508 MB / 0.6176 GB, free: 4.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.5968, allocations: 4.285 MB / 0.6217 GB, free: 168 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.5968, allocations: 51.81 kB / 0.6218 GB, free: 108 kB / 462.1 MB Notification: Performance of pre-optimization done (n=128): time 3.266e-06/0.5968, allocations: 0 / 0.6218 GB, free: 108 kB / 462.1 MB Notification: Performance of matching and sorting (n=181): time 0.03176/0.6286, allocations: 8.1 MB / 0.6297 GB, free: 7.957 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.6287, allocations: 95.11 kB / 0.6298 GB, free: 7.844 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.6306, allocations: 1.317 MB / 0.6311 GB, free: 6.516 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.6308, allocations: 57.64 kB / 0.6311 GB, free: 6.453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008432/0.6317, allocations: 1.089 MB / 0.6322 GB, free: 5.352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000668/0.6323, allocations: 0.6624 MB / 0.6328 GB, free: 4.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007041/0.633, allocations: 485 kB / 0.6333 GB, free: 4.203 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6332, allocations: 305.1 kB / 0.6336 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.6346, allocations: 0.8171 MB / 0.6344 GB, free: 3.082 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.6368, allocations: 1.661 MB / 0.636 GB, free: 1.035 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003867/0.6407, allocations: 2.61 MB / 0.6386 GB, free: 14.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/0.6407, allocations: 8 kB / 0.6386 GB, free: 14.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.007174/0.6479, allocations: 3.043 MB / 0.6415 GB, free: 10.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.05e-05/0.6479, allocations: 19.94 kB / 0.6416 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.626e-05/0.648, allocations: 28 kB / 0.6416 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003233/0.6512, allocations: 0.5186 MB / 0.6421 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003786/0.655, allocations: 0.8035 MB / 0.6429 GB, free: 9.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009387/0.6644, allocations: 7.509 MB / 0.6502 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.6662, allocations: 95.89 kB / 0.6503 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003392/0.6665, allocations: 144 kB / 0.6504 GB, free: 1.383 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.0009544/0.6675, allocations: 457.1 kB / 0.6509 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.6679, allocations: 174.8 kB / 0.651 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006906/0.6748, allocations: 2.55 MB / 0.6535 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.6748, allocations: 23.94 kB / 0.6536 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6748, allocations: 4 kB / 0.6536 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.6748, allocations: 7.969 kB / 0.6536 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.6851, allocations: 4.257 MB / 0.6577 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/0.6851, allocations: 16 kB / 0.6577 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/0.6869, allocations: 415.4 kB / 0.6581 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003419/0.6903, allocations: 0.5476 MB / 0.6587 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/0.6905, allocations: 83.91 kB / 0.6588 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008921/0.6994, allocations: 7.292 MB / 0.6659 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/0.6994, allocations: 23.88 kB / 0.6659 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007507/0.7069, allocations: 3.454 MB / 0.6693 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/0.7074, allocations: 166.8 kB / 0.6694 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.7076, allocations: 55.98 kB / 0.6695 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/0.7086, allocations: 47.94 kB / 0.6695 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/0.7089, allocations: 200.7 kB / 0.6697 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.7091, allocations: 95.95 kB / 0.6698 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001129/0.7102, allocations: 0.8313 MB / 0.6706 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7102, allocations: 0 / 0.6706 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003789/0.714, allocations: 1.212 MB / 0.6718 GB, free: 10.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 8 (cathode.temperature,Ag.logn,anode.temperature,solution1.temperature,Cl.logn,AgCl.logn,H.logn,liquidWater.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 (198): * Single equations (assignments): 192 * 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,6), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002616/0.7166, allocations: 1.328 MB / 0.6731 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005089/0.7217, allocations: 2.365 MB / 0.6754 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.7217, allocations: 1 kB / 0.6754 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.724, allocations: 1.363 MB / 0.6767 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.726, allocations: 348.1 kB / 0.6771 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/0.7329, allocations: 4.058 MB / 0.681 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.734, allocations: 0.8577 MB / 0.6819 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001652/0.7356, allocations: 453.7 kB / 0.6823 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/0.7363, allocations: 288.3 kB / 0.6826 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.7363, allocations: 0 / 0.6826 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of Templates: time 0.06722/0.8035, allocations: 41.22 MB / 0.7228 GB, free: 6.254 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.4326139613986015] Failed to read output from testmodel.py, exit status != 0: 0.8144547361880541 1.04997095 0.5047460939999999 Calling exit ...