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.001236/0.001236, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001521/0.001521, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.45/1.45, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1367/0.1367, allocations: 23.85 MB / 332.7 MB, free: 12.35 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.00207/0.00207, allocations: 63.89 kB / 466.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 59.83 MB / 0.5139 GB, free: 9.121 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.04092/0.3545, allocations: 28.82 MB / 0.5421 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0263/0.3808, allocations: 19.48 MB / 0.5611 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.3823, allocations: 27.75 kB / 0.5611 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.3838, allocations: 0.5068 MB / 0.5616 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.3876, allocations: 1.236 MB / 0.5628 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008069/0.3957, allocations: 2.86 MB / 0.5656 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003496/0.3992, allocations: 2.093 MB / 0.5677 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.4007, allocations: 1.103 MB / 0.5688 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.4019, allocations: 0.9271 MB / 0.5697 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.4033, allocations: 1.07 MB / 0.5707 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.4036, allocations: 200 kB / 0.5709 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006529/0.4102, allocations: 2.083 MB / 0.5729 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.4107, allocations: 470.6 kB / 0.5734 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.412, allocations: 0.9878 MB / 0.5743 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.4221, allocations: 4.358 MB / 0.5786 GB, free: 8.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4221, allocations: 0 / 0.5786 GB, free: 8.938 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4221, allocations: 0 / 0.5786 GB, free: 8.938 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.228e-05/0.4221, allocations: 0 / 0.5786 GB, free: 8.938 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.004917/0.427, allocations: 2.403 MB / 0.5809 GB, free: 6.473 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4271, allocations: 12.03 kB / 0.581 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.429, allocations: 451 kB / 0.5814 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.4309, allocations: 1.084 MB / 0.5824 GB, free: 4.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.4311, allocations: 191 kB / 0.5826 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.4314, allocations: 164 kB / 0.5828 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.4353, allocations: 2.218 MB / 0.585 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.4353, allocations: 4 kB / 0.585 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.4355, allocations: 71.98 kB / 0.585 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.4356, allocations: 40 kB / 0.5851 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004565/0.4401, allocations: 2.68 MB / 0.5877 GB, free: 15.45 MB / 446.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.01212/0.4522, allocations: 7.275 MB / 0.5948 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.4543, allocations: 1.134 MB / 0.5959 GB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009647/0.4552, allocations: 0.5105 MB / 0.5964 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008817/0.4641, allocations: 5.156 MB / 0.6014 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4641, allocations: 43.12 kB / 0.6015 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000513/0.4646, allocations: 115 kB / 0.6016 GB, free: 344 kB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 2.585e-06/0.4646, allocations: 4 kB / 0.6016 GB, free: 340 kB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01978/0.4844, allocations: 4.856 MB / 0.6063 GB, free: 11.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.157e-05/0.4845, allocations: 115.8 kB / 0.6064 GB, free: 11.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.4865, allocations: 1.478 MB / 0.6079 GB, free: 9.711 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.4866, allocations: 41.7 kB / 0.6079 GB, free: 9.664 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007299/0.4873, allocations: 0.9162 MB / 0.6088 GB, free: 8.734 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/0.4877, allocations: 361 kB / 0.6092 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006013/0.4883, allocations: 367.2 kB / 0.6095 GB, free: 8.012 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4884, allocations: 305.2 kB / 0.6098 GB, free: 7.711 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.4895, allocations: 0.6285 MB / 0.6104 GB, free: 7.082 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.4913, allocations: 1.329 MB / 0.6117 GB, free: 5.422 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.4942, allocations: 1.917 MB / 0.6136 GB, free: 3.172 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.4942, allocations: 8 kB / 0.6136 GB, free: 3.164 MB / 462.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.006048/0.5002, allocations: 2.371 MB / 0.6159 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.5003, allocations: 12 kB / 0.6159 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/0.5003, allocations: 27.94 kB / 0.6159 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/0.503, allocations: 379.3 kB / 0.6163 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/0.5059, allocations: 0.5695 MB / 0.6169 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.516, allocations: 7.892 MB / 0.6246 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.5174, allocations: 88.03 kB / 0.6246 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.5176, allocations: 104 kB / 0.6247 GB, free: 7.09 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.0006652/0.5182, allocations: 376 kB / 0.6251 GB, free: 6.715 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.5185, allocations: 135.1 kB / 0.6252 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.5234, allocations: 1.538 MB / 0.6267 GB, free: 5.012 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.5234, allocations: 12 kB / 0.6267 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5234, allocations: 0 / 0.6267 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.5234, allocations: 7.984 kB / 0.6268 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007167/0.5306, allocations: 3.007 MB / 0.6297 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.5306, allocations: 8 kB / 0.6297 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009134/0.5315, allocations: 211.7 kB / 0.6299 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/0.5342, allocations: 408.9 kB / 0.6303 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.631e-05/0.5343, allocations: 43.98 kB / 0.6303 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009028/0.5434, allocations: 7.711 MB / 0.6379 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.5434, allocations: 11.94 kB / 0.6379 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005336/0.5487, allocations: 2.16 MB / 0.64 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.5491, allocations: 216.2 kB / 0.6402 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.5493, allocations: 27.98 kB / 0.6402 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.55, allocations: 28 kB / 0.6402 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.5502, allocations: 112.3 kB / 0.6404 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.5503, allocations: 51.98 kB / 0.6404 GB, free: 6.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001335/0.5516, allocations: 1.013 MB / 0.6414 GB, free: 5.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5516, allocations: 3.938 kB / 0.6414 GB, free: 5.055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002722/0.5543, allocations: 0.8221 MB / 0.6422 GB, free: 4.23 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.001686/0.556, allocations: 0.903 MB / 0.6431 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003617/0.5596, allocations: 1.691 MB / 0.6447 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5597, allocations: 0.9375 kB / 0.6447 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.5611, allocations: 0.9644 MB / 0.6457 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.5625, allocations: 231.9 kB / 0.6459 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.5673, allocations: 2.881 MB / 0.6487 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.5684, allocations: 1.223 MB / 0.6499 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001102/0.5695, allocations: 322.5 kB / 0.6502 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.5699, allocations: 179.3 kB / 0.6504 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of SimCode: time 6.42e-07/0.5699, allocations: 0 / 0.6504 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.04831/0.6182, allocations: 28.67 MB / 0.6784 GB, free: 15.01 MB / 0.5294 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0282672718167305] Failed to read output from testmodel.py, exit status != 0: 0.6267278790473938 0.639688529 0.21462381100000003 Calling exit ...