Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.H2O_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.001382/0.001382, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001495/0.001495, allocations: 213.9 kB / 22.99 MB, free: 4.984 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.449/1.449, 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 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.1378/0.1378, allocations: 23.88 MB / 337.1 MB, free: 11 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.H2O_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.00206/0.00206, allocations: 63.91 kB / 472.4 MB, free: 7.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2937, allocations: 59.87 MB / 0.5197 GB, free: 9.82 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.H2O_ElectrochemicalCell): time 0.07359/0.3673, allocations: 28.09 MB / 0.5472 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02524/0.3925, allocations: 17.13 MB / 0.5639 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.394, allocations: 31.75 kB / 0.5639 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.3956, allocations: 454.7 kB / 0.5644 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.3997, allocations: 1.201 MB / 0.5655 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008203/0.4079, allocations: 2.888 MB / 0.5684 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003482/0.4113, allocations: 2.098 MB / 0.5704 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.413, allocations: 1.08 MB / 0.5715 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.4143, allocations: 0.9271 MB / 0.5724 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.4158, allocations: 1.082 MB / 0.5734 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.4161, allocations: 203.9 kB / 0.5736 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/0.4213, allocations: 1.997 MB / 0.5756 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005981/0.4219, allocations: 478.5 kB / 0.576 GB, free: 152 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.423, allocations: 0.8248 MB / 0.5768 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008779/0.4318, allocations: 4.35 MB / 0.5811 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4318, allocations: 0 / 0.5811 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4318, allocations: 0 / 0.5811 GB, free: 10.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.729e-05/0.4319, allocations: 3.938 kB / 0.5811 GB, free: 10.95 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004674/0.4365, allocations: 2.331 MB / 0.5834 GB, free: 8.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.4366, allocations: 8.031 kB / 0.5834 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.4384, allocations: 443 kB / 0.5838 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.4404, allocations: 1.015 MB / 0.5848 GB, free: 7.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.4406, allocations: 234.4 kB / 0.585 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/0.4409, allocations: 167.9 kB / 0.5852 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.4446, allocations: 2.229 MB / 0.5874 GB, free: 4.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.4447, allocations: 7.938 kB / 0.5874 GB, free: 4.363 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.4449, allocations: 71.94 kB / 0.5874 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.4449, allocations: 44 kB / 0.5875 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004256/0.4492, allocations: 2.692 MB / 0.5901 GB, free: 1.551 MB / 430.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.01104/0.4602, allocations: 6.139 MB / 0.5961 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.462, allocations: 0.9677 MB / 0.597 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008962/0.4629, allocations: 0.5135 MB / 0.5975 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007482/0.4704, allocations: 2.981 MB / 0.6005 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4704, allocations: 39.22 kB / 0.6005 GB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004756/0.4709, allocations: 103.1 kB / 0.6006 GB, free: 6.598 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.805e-06/0.4709, allocations: 7.938 kB / 0.6006 GB, free: 6.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.02113/0.492, allocations: 4.551 MB / 0.605 GB, free: 1.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.208e-05/0.4921, allocations: 127.7 kB / 0.6052 GB, free: 1.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.494, allocations: 1.445 MB / 0.6066 GB, free: 372 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.824e-05/0.4941, allocations: 45.7 kB / 0.6066 GB, free: 320 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007071/0.4948, allocations: 0.9317 MB / 0.6075 GB, free: 15.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.4951, allocations: 361 kB / 0.6079 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005608/0.4957, allocations: 355.3 kB / 0.6082 GB, free: 14.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4959, allocations: 362 kB / 0.6086 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.4969, allocations: 0.6364 MB / 0.6092 GB, free: 13.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.4987, allocations: 1.341 MB / 0.6105 GB, free: 11.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.5015, allocations: 1.929 MB / 0.6124 GB, free: 9.727 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.5015, allocations: 11.94 kB / 0.6124 GB, free: 9.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.006332/0.5078, allocations: 2.379 MB / 0.6147 GB, free: 7.312 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.5079, allocations: 16 kB / 0.6147 GB, free: 7.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.504e-05/0.5079, allocations: 24 kB / 0.6147 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002998/0.5109, allocations: 379.1 kB / 0.6151 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.5141, allocations: 0.5617 MB / 0.6156 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00965/0.5238, allocations: 7.378 MB / 0.6229 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.5252, allocations: 84.11 kB / 0.6229 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.5254, allocations: 108 kB / 0.623 GB, free: 14.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (219): * Single equations (assignments): 213 * 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,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006756/0.5261, allocations: 365.2 kB / 0.6234 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.5264, allocations: 131.2 kB / 0.6235 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005229/0.5316, allocations: 1.522 MB / 0.625 GB, free: 12.26 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.5316, allocations: 16 kB / 0.625 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5316, allocations: 0 / 0.625 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.5316, allocations: 3.984 kB / 0.625 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00722/0.5389, allocations: 2.649 MB / 0.6276 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5389, allocations: 8 kB / 0.6276 GB, free: 9.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009554/0.5398, allocations: 215.7 kB / 0.6278 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.5429, allocations: 409.3 kB / 0.6282 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.543, allocations: 47.92 kB / 0.6283 GB, free: 8.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008757/0.5518, allocations: 7.164 MB / 0.6352 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.5518, allocations: 11.94 kB / 0.6353 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005611/0.5574, allocations: 2.164 MB / 0.6374 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.5577, allocations: 123.2 kB / 0.6375 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.5579, allocations: 28 kB / 0.6375 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000747/0.5587, allocations: 32.11 kB / 0.6375 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/0.5589, allocations: 112.3 kB / 0.6377 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.559, allocations: 51.98 kB / 0.6377 GB, free: 14.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001272/0.5602, allocations: 0.9751 MB / 0.6387 GB, free: 13.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5602, allocations: 0 / 0.6387 GB, free: 13.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00272/0.563, allocations: 0.8182 MB / 0.6395 GB, free: 12.69 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 5 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.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 (101): * Single equations (assignments): 95 * 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,1), (1,1), (1,3), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001781/0.5647, allocations: 0.911 MB / 0.6403 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003603/0.5683, allocations: 1.698 MB / 0.642 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5684, allocations: 0 / 0.642 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.5698, allocations: 0.9537 MB / 0.6429 GB, free: 9.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.5713, allocations: 229.8 kB / 0.6432 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.576, allocations: 2.874 MB / 0.646 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/0.5768, allocations: 0.633 MB / 0.6466 GB, free: 5.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001069/0.5779, allocations: 313.8 kB / 0.6469 GB, free: 4.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.5783, allocations: 175.3 kB / 0.647 GB, free: 4.676 MB / 494.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5783, allocations: 0 / 0.647 GB, free: 4.676 MB / 494.1 MB Notification: Performance of Templates: time 0.04969/0.628, allocations: 30.45 MB / 0.6768 GB, free: 6.395 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0764172630006215] Failed to read output from testmodel.py, exit status != 0: 0.6370728019974194 0.6519977419999999 0.21675427600000002 Calling exit ...