Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001128/0.001128, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.001178/0.001178, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8226/0.8226, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 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.0783/0.0783, allocations: 17.45 MB / 277.4 MB, free: 11.74 MB / 266.7 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.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 3.844 kB / 412.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.891e-05, allocations: 2.281 kB / 412.9 MB, free: 15.77 MB / 394.7 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.H2O_ElectrochemicalCell): time 0.02156/0.02158, allocations: 28.49 MB / 441.4 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1601/0.1817, allocations: 17.12 MB / 458.5 MB, free: 55.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006583/0.1824, allocations: 24.06 kB / 458.5 MB, free: 55.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.1831, allocations: 476.4 kB / 459 MB, free: 54.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.1847, allocations: 1.257 MB / 460.2 MB, free: 54.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.1883, allocations: 2.966 MB / 463.2 MB, free: 52.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.1895, allocations: 2.164 MB / 465.4 MB, free: 51.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.1902, allocations: 1.064 MB / 466.4 MB, free: 50.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006598/0.1909, allocations: 1.353 MB / 467.8 MB, free: 50.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006015/0.1915, allocations: 0.8238 MB / 468.6 MB, free: 49.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.1916, allocations: 201.6 kB / 468.8 MB, free: 49.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.1939, allocations: 1.976 MB / 470.8 MB, free: 49.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.1941, allocations: 475.4 kB / 471.2 MB, free: 49.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.1945, allocations: 0.7077 MB / 471.9 MB, free: 48.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.1972, allocations: 4.569 MB / 476.5 MB, free: 46.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1972, allocations: 4 kB / 476.5 MB, free: 46.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1972, allocations: 2.656 kB / 476.5 MB, free: 46.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.1972, allocations: 0 / 476.5 MB, free: 46.93 MB / 410.7 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.001975/0.1992, allocations: 2.306 MB / 478.8 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1992, allocations: 12.25 kB / 478.8 MB, free: 45.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007799/0.2, allocations: 448.2 kB / 479.3 MB, free: 45.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009512/0.201, allocations: 1.01 MB / 480.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.2011, allocations: 235.1 kB / 480.5 MB, free: 44.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.2012, allocations: 168.5 kB / 480.7 MB, free: 44.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.203, allocations: 2.254 MB / 482.9 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.2031, allocations: 0 / 482.9 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.2032, allocations: 71.03 kB / 483 MB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.2032, allocations: 41.31 kB / 483 MB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.2054, allocations: 2.69 MB / 485.7 MB, free: 42.75 MB / 410.7 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.005299/0.2107, allocations: 6.108 MB / 491.8 MB, free: 39.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.2118, allocations: 0.991 MB / 492.8 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.2123, allocations: 0.5183 MB / 493.3 MB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003753/0.216, allocations: 2.97 MB / 496.3 MB, free: 37.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.216, allocations: 40.27 kB / 496.4 MB, free: 37.06 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002078/0.2162, allocations: 104.3 kB / 496.5 MB, free: 36.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 2.014e-06/0.2162, allocations: 0 / 496.5 MB, free: 36.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.008782/0.225, allocations: 4.554 MB / 0.4893 GB, free: 35.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.2251, allocations: 113.8 kB / 0.4894 GB, free: 35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.2262, allocations: 1.451 MB / 0.4908 GB, free: 34.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.2262, allocations: 47.02 kB / 0.4908 GB, free: 34.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.2265, allocations: 0.9219 MB / 0.4917 GB, free: 33.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.2267, allocations: 357.9 kB / 0.4921 GB, free: 33.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/0.227, allocations: 359.2 kB / 0.4924 GB, free: 33.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.2271, allocations: 362.2 kB / 0.4928 GB, free: 32.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.2277, allocations: 0.633 MB / 0.4934 GB, free: 32.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008368/0.2286, allocations: 1.342 MB / 0.4947 GB, free: 31.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.2301, allocations: 1.93 MB / 0.4966 GB, free: 29.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.2301, allocations: 6.875 kB / 0.4966 GB, free: 29.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.002828/0.2329, allocations: 2.376 MB / 0.4989 GB, free: 28.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2329, allocations: 21.22 kB / 0.4989 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.2329, allocations: 26.88 kB / 0.499 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.234, allocations: 370.6 kB / 0.4993 GB, free: 28.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.2353, allocations: 0.5621 MB / 0.4999 GB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003697/0.239, allocations: 7.37 MB / 0.5071 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006258/0.2396, allocations: 89.58 kB / 0.5071 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.36e-05/0.2397, allocations: 110.7 kB / 0.5072 GB, free: 21.85 MB / 410.7 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.0003724/0.2401, allocations: 368.6 kB / 0.5076 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.2402, allocations: 119.2 kB / 0.5077 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.2425, allocations: 1.53 MB / 0.5092 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2425, allocations: 12 kB / 0.5092 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2425, allocations: 0 / 0.5092 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2425, allocations: 10.23 kB / 0.5092 GB, free: 20.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.2458, allocations: 2.659 MB / 0.5118 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.2458, allocations: 8 kB / 0.5118 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.2462, allocations: 223.7 kB / 0.512 GB, free: 17.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.2473, allocations: 408 kB / 0.5124 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.2474, allocations: 46.38 kB / 0.5125 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/0.2504, allocations: 7.155 MB / 0.5195 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2504, allocations: 15.88 kB / 0.5195 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.2526, allocations: 2.15 MB / 0.5216 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.2527, allocations: 119.2 kB / 0.5217 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.36e-05/0.2528, allocations: 27.98 kB / 0.5217 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.2531, allocations: 28 kB / 0.5217 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.976e-05/0.2532, allocations: 116.2 kB / 0.5219 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.2532, allocations: 54.64 kB / 0.5219 GB, free: 7.227 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005292/0.2538, allocations: 0.9673 MB / 0.5229 GB, free: 6.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2538, allocations: 0 / 0.5229 GB, free: 6.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001654/0.2554, allocations: 0.8221 MB / 0.5237 GB, free: 5.426 MB / 410.7 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.0008816/0.2563, allocations: 0.9203 MB / 0.5246 GB, free: 4.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.2579, allocations: 1.703 MB / 0.5262 GB, free: 2.828 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2579, allocations: 5.688 kB / 0.5262 GB, free: 2.824 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.2585, allocations: 0.9531 MB / 0.5272 GB, free: 1.824 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.2593, allocations: 231.8 kB / 0.5274 GB, free: 1.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.2618, allocations: 2.776 MB / 0.5301 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.2622, allocations: 0.6394 MB / 0.5307 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.2625, allocations: 220.9 kB / 0.5309 GB, free: 13.92 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2625, allocations: 0 / 0.5309 GB, free: 13.92 MB / 426.7 MB Notification: Performance of Templates: time 0.04054/0.303, allocations: 61.9 MB / 0.5914 GB, free: 0.5898 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.H2O_ElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.964103104546666] Failed to read output from testmodel.py, exit status != 0: 0.3092534365132451 0.317634213 0.11871727500000001 Calling exit ...