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.0009126/0.0009126, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002327, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001032/0.001032, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.0025, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9888/0.9888, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09356/1.082, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08644/0.08644, allocations: 17.44 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01185/0.09829, allocations: 6.97 MB / 268.6 MB, free: 6.289 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 269.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.15e-05, allocations: 2.312 kB / 269.9 MB, free: 4.988 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1376/0.1376, allocations: 10.1 MB / 280 MB, free: 448 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02319/0.1608, allocations: 26.21 MB / 306.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1621, allocations: 31.75 kB / 306.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.1633, allocations: 0.5773 MB / 306.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.1675, allocations: 2.167 MB / 308.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007552/0.1751, allocations: 3.61 MB / 312.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002469/0.1775, allocations: 2.936 MB / 315.5 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.179, allocations: 1.429 MB / 316.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.1808, allocations: 2.083 MB / 319 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.1822, allocations: 1.259 MB / 320.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004016/0.1826, allocations: 260 kB / 320.5 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005396/0.188, allocations: 2.838 MB / 323.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.1883, allocations: 462.6 kB / 323.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006506/0.189, allocations: 0.7487 MB / 324.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005397/0.1943, allocations: 4.813 MB / 329.4 MB, free: 6.688 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.1944, allocations: 0 / 329.4 MB, free: 6.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1944, allocations: 0 / 329.4 MB, free: 6.688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.622e-05/0.1944, allocations: 0 / 329.4 MB, free: 6.688 MB / 314.7 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.003948/0.1984, allocations: 3.852 MB / 333.2 MB, free: 2.789 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1984, allocations: 8.031 kB / 333.2 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.1998, allocations: 0.9209 MB / 334.1 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.2008, allocations: 0.8513 MB / 335 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.2009, allocations: 271.7 kB / 335.3 MB, free: 0.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/0.2011, allocations: 220.3 kB / 335.5 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.2028, allocations: 1.884 MB / 337.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.2028, allocations: 7.938 kB / 337.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.2029, allocations: 84 kB / 337.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.2029, allocations: 56 kB / 337.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.2044, allocations: 1.552 MB / 339.1 MB, free: 12.77 MB / 330.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.006045/0.2105, allocations: 5.643 MB / 344.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009555/0.2114, allocations: 1.073 MB / 345.8 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.2118, allocations: 419.5 kB / 346.2 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004636/0.2164, allocations: 3.595 MB / 349.8 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2165, allocations: 43.88 kB / 349.8 MB, free: 1.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.164e-06/0.2165, allocations: 4 kB / 349.8 MB, free: 1.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=164): time 0.01119/0.2277, allocations: 5.768 MB / 355.6 MB, free: 12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.2277, allocations: 98.41 kB / 355.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/0.2284, allocations: 1.068 MB / 356.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.2284, allocations: 57.73 kB / 356.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.2288, allocations: 0.9731 MB / 357.8 MB, free: 9.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.2291, allocations: 0.5926 MB / 358.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003794/0.2295, allocations: 460.4 kB / 358.8 MB, free: 8.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.2295, allocations: 301.1 kB / 359.1 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.2299, allocations: 284.1 kB / 359.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.2305, allocations: 1.112 MB / 360.5 MB, free: 6.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.232, allocations: 1.797 MB / 362.3 MB, free: 4.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.232, allocations: 8 kB / 362.3 MB, free: 4.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.002038/0.234, allocations: 1.644 MB / 364 MB, free: 2.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.234, allocations: 20.28 kB / 364 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.234, allocations: 32 kB / 364 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.2357, allocations: 0.5948 MB / 364.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.2374, allocations: 0.9056 MB / 365.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003844/0.2413, allocations: 6.656 MB / 372.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.2418, allocations: 95.84 kB / 372.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.2419, allocations: 112 kB / 372.4 MB, free: 9.953 MB / 362.7 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 (294): * Single equations (assignments): 288 * 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.0003239/0.2423, allocations: 275.9 kB / 372.6 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.2424, allocations: 139.9 kB / 372.8 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.2446, allocations: 1.506 MB / 374.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.2446, allocations: 23.98 kB / 374.3 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.2446, allocations: 0 / 374.3 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2446, allocations: 7.969 kB / 374.3 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.2481, allocations: 2.877 MB / 377.2 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.2481, allocations: 8 kB / 377.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.2489, allocations: 471.9 kB / 377.7 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.249, allocations: 158.8 kB / 377.8 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.2507, allocations: 0.624 MB / 378.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.509e-05/0.2508, allocations: 67.98 kB / 378.5 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003537/0.2543, allocations: 6.43 MB / 384.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.2543, allocations: 19.88 kB / 385 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.2564, allocations: 2.024 MB / 387 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.2565, allocations: 51.98 kB / 387 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.2569, allocations: 44 kB / 387.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.257, allocations: 180.7 kB / 387.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.2571, allocations: 75.97 kB / 387.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003314/0.2574, allocations: 494.1 kB / 387.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2574, allocations: 0 / 387.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002266/0.2597, allocations: 1.134 MB / 388.9 MB, free: 8.543 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (180): * Single equations (assignments): 174 * 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.001358/0.2611, allocations: 1.334 MB / 390.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.2626, allocations: 1.598 MB / 391.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.996e-05/0.2627, allocations: 40.5 kB / 391.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008335/0.2635, allocations: 1.175 MB / 393.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.2651, allocations: 2.074 MB / 395.2 MB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.2779, allocations: 3.615 MB / 398.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.2782, allocations: 349.4 kB / 399.1 MB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008072/0.279, allocations: 402.3 kB / 399.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/0.2797, allocations: 0.5085 MB / 400 MB, free: 12.83 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2797, allocations: 0 / 400 MB, free: 12.83 MB / 394.7 MB Notification: Performance of Templates: time 0.1746/0.4543, allocations: 44.08 MB / 444.1 MB, free: 103.3 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.888452585786581]